Xceed SmartUI for WinForms v3.6 Documentation
DisabledImageIndex Property


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartItem Class : 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()>
<BrowsableAttribute(True)>
<MergablePropertyAttribute(True)>
<LocalizableAttribute(True)>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Xceed.SmartUI.Design.ImageIndexDesigner, Xceed.SmartUI.v3.6.Design, Version=3.6.17407.00005, Culture=neutral, PublicKeyToken=ba83ff368b7563c6")>
<TypeConverterAttribute("Xceed.SmartUI.Design.OtherImageIndexConverter, Xceed.SmartUI.v3.6.Design, Version=3.6.17407.00005, Culture=neutral, PublicKeyToken=ba83ff368b7563c6")>
Public Property DisabledImageIndex As Integer
'Usage
 
Dim instance As SmartItem
Dim value As Integer
 
instance.DisabledImageIndex = value
 
value = instance.DisabledImageIndex
[Description("Gets or sets the index of the image retrieved from the ImageList, displayed when the SmartItem is disabled.")]
[Category("Appearance")]
[DefaultValue()]
[Browsable(true)]
[MergableProperty(true)]
[Localizable(true)]
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Xceed.SmartUI.Design.ImageIndexDesigner, Xceed.SmartUI.v3.6.Design, Version=3.6.17407.00005, Culture=neutral, PublicKeyToken=ba83ff368b7563c6")]
[TypeConverter("Xceed.SmartUI.Design.OtherImageIndexConverter, Xceed.SmartUI.v3.6.Design, Version=3.6.17407.00005, Culture=neutral, PublicKeyToken=ba83ff368b7563c6")]
public int DisabledImageIndex {get; set;}

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

Reference

SmartItem Class
SmartItem Members