Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItem Class / IsEnabled Property


In This Topic
    IsEnabled Property
    In This Topic
    Gets a boolean value indicating the actual enabled state of the SmartItem.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    Public ReadOnly Property IsEnabled As Boolean
    'Usage
     
    Dim instance As SmartItem
    Dim value As Boolean
     
    value = instance.IsEnabled
    [Browsable(false)]
    public bool IsEnabled {get;}

    Property Value

    true if the SmartItem is enabled; false otherwise.
    Remarks

    This property takes the enabled state of the ParentItem, ParentSmartControl and RootSmartControl into consideration. Therefore, if the parent SmartItem is not enabled but the child is, IsEnabled 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