Gets the visible status of the specified menu item.
'Declaration
Public Function GetItemVisible( _
ByVal As Tool, _
ByVal As Integer, _
ByVal As Integer _
) As Boolean
'Usage
Dim instance As ToolbarContextMenu
Dim tool As Tool
Dim topMenuId As Integer
Dim subMenuId As Integer
Dim value As Boolean
value = instance.GetItemVisible(tool, topMenuId, subMenuId)
public bool GetItemVisible(
Tool ,
int ,
int
)
public: bool GetItemVisible(
Tool ,
int ,
int
)
public:
bool GetItemVisible(
Tool ,
int ,
int
)
Parameters
- tool
- A Tool enumeration value associated with the menu item.
- topMenuId
- An integer value which represents the top-level menu in which the menu item resides.
- subMenuId
- An integer value which represents the sub-level menu in which the menu item resides.
Return Value
A boolean value which is true if the given menu item is visible. Otherwise, false is returned.