Syncfusion.Grid.Windows


ImageIndex Property (GridStyleInfo)

Gets or sets an image index that specifies an image inside a ImageList.
Syntax
'Declaration
 
<BrowsableAttribute(True)>
<DescriptionAttribute("Holds an image index that specifies an image inside an image list.")>
<CategoryAttribute("Image")>
<TypeConverterAttribute("System.Windows.Forms.ImageIndexConverter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Syncfusion.Windows.Forms.Design.ImageIndexEditor, Syncfusion.Shared.Base, Version=17.1460.0.47, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89")>
<NotifyParentPropertyAttribute(True)>
Public Property ImageIndex As Integer
'Usage
 
Dim instance As GridStyleInfo
Dim value As Integer
 
instance.ImageIndex = value
 
value = instance.ImageIndex
[Browsable(true)]
[Description("Holds an image index that specifies an image inside an image list.")]
[Category("Image")]
[TypeConverter("System.Windows.Forms.ImageIndexConverter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Syncfusion.Windows.Forms.Design.ImageIndexEditor, Syncfusion.Shared.Base, Version=17.1460.0.47, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89")]
[NotifyParentProperty(true)]
public int ImageIndex {get; set;}
Remarks

The default value for the ImageIndex property is -1.

The property affects the behavior or appearance of the following cell types:

AssemblyVersion

Syncfusion.Grid.Windows: 17.1460.0.47

See Also