Xceed SmartUI for WinForms v3.6 Documentation
Visible Property


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartItem Class : Visible Property
Gets or sets a boolean value indicating if the SmartItem is visible.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates if the SmartItem is visible")>
<CategoryAttribute("Behavior")>
<DefaultValueAttribute()>
<BrowsableAttribute(True)>
<MergablePropertyAttribute(True)>
<LocalizableAttribute(False)>
Public Property Visible As Boolean
'Usage
 
Dim instance As SmartItem
Dim value As Boolean
 
instance.Visible = value
 
value = instance.Visible
[Description("Indicates if the SmartItem is visible")]
[Category("Behavior")]
[DefaultValue()]
[Browsable(true)]
[MergableProperty(true)]
[Localizable(false)]
public bool Visible {get; set;}

Property Value

true if the SmartItem is visible; true otherwise.
Remarks

This property does not take the visible state or the ParentItem, ParentSmartControl or RootSmartControl into consideration. Therefore, if the parent SmartItem is not visible but the child is, Visible will still return true. To get the actual visible state (taking the parents into consideration), the IsVisible property should be consulted.

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
IsVisible Property