Xceed Grid for WinForms v4.3 Documentation
InsertImageIndex Property (RowSelector)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > RowSelector Class : InsertImageIndex Property
Gets or sets the index of the image to use to represent the insertion row.
Syntax
'Declaration
 
<TypeConverterAttribute("Xceed.Grid.Design.RowSelectorPaneImageIndexConverter,Xceed.Grid.v4.3.Design,Version=4.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")>
<EditorAttribute("System.Windows.Forms.Design.ImageIndexEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.Drawing.Design.UITypeEditor)>
<DescriptionAttribute("The index of the image to use to represent the insertion row.")>
<AmbientValueAttribute(-2147483648)>
<LocalizableAttribute(True)>
<CategoryAttribute("Appearance")>
Public Property InsertImageIndex As Integer
'Usage
 
Dim instance As RowSelector
Dim value As Integer
 
instance.InsertImageIndex = value
 
value = instance.InsertImageIndex
[TypeConverter("Xceed.Grid.Design.RowSelectorPaneImageIndexConverter,Xceed.Grid.v4.3.Design,Version=4.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")]
[Editor("System.Windows.Forms.Design.ImageIndexEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.Drawing.Design.UITypeEditor)]
[Description("The index of the image to use to represent the insertion row.")]
[AmbientValue(-2147483648)]
[Localizable(true)]
[Category("Appearance")]
public int InsertImageIndex {get; set;}

Property Value

A value representing the index of the image to use to represent the insertion row. If -2 then the default image is used. If -1 then no image is to be used.
Remarks

If the IsInsertImageIndexAmbient property returns true, then the value of the InsertImageIndex property is inherited from its parent.

To reset the value of the InsertImageIndex property to its default value, DefaultInsertImageIndex, the ResetInsertImageIndex method must be called.

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

RowSelector Class
RowSelector Members