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


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

Property Value

true if the SmartItem is visible; false otherwise.
Remarks

This property takes the visible state of the ParentItem, ParentSmartControl and RootSmartControl into consideration. Therefore, if the parent SmartItem is not visible but the child is, IsVisible will return false.

The collapsed or expanded state of the parent SmartItem will also be taken into consideration in the case where the parent SmartItem implements the IExpandable interface. For example, if the parent SmartItem is collapsed, 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

SmartItem Class
SmartItem Members
Visible Property