Xceed SmartUI for WinForms v3.6 Documentation
IsVisible Property (MenuItem)


Xceed.SmartUI.Controls.v3.6 Assembly > Xceed.SmartUI.Controls.MenuBar Namespace > MenuItem Class : IsVisible Property
Gets a boolean value indicating the actual visible state of the SmartItem.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
Public Overrides ReadOnly Property IsVisible As Boolean
'Usage
 
Dim instance As MenuItem
Dim value As Boolean
 
value = instance.IsVisible
[Browsable(false)]
public override bool IsVisible {get;}

Property Value

true if the SmartItem is visible; false otherwise.
Remarks

This property takes the value of the OnlyInExtendMode property as well as the visible state or the Xceed.SmartUI.SmartItem.ParentItem, Xceed.SmartUI.SmartItem.ParentSmartControl and Xceed.SmartUI.SmartItem.RootSmartControl into consideration. Therefore, if the parent SmartItem is not visible but the child is, IsVisible will return false.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MenuItem Class
MenuItem Members
Base Implementation in IsVisible
Visible Property