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


DisabledImageIndex Property
Gets or sets the index of the image retrieved from the ImageList, displayed when the SmartItem is disabled.
Syntax
'Declaration
 
<DescriptionAttribute("Gets or sets the index of the image retrieved from the ImageList, displayed when the SmartItem is disabled.")>
<CategoryAttribute("Appearance")>
<DefaultValueAttribute(-1)>
<BrowsableAttribute(True)>
<MergablePropertyAttribute(True)>
<LocalizableAttribute(True)>
<EditorAttribute("Xceed.SmartUI.Design.ImageIndexDesigner, Xceed.SmartUI.v3.6.Design, Version=3.6.25208.5768, Culture=neutral, PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)>
<TypeConverterAttribute("Xceed.SmartUI.Design.OtherImageIndexConverter, Xceed.SmartUI.v3.6.Design, Version=3.6.25208.5768, Culture=neutral, PublicKeyToken=ba83ff368b7563c6")>
Public Property DisabledImageIndex As Integer
 
'Usage
 
Dim instance As SmartItem
Dim value As Integer
 
instance.DisabledImageIndex = value
 
value = instance.DisabledImageIndex

Property Value

A value representing the index of the image to display when the SmartItem's Enabled property is set to 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