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


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > RowSelector Class : CurrentImageIndex Property
Gets or sets the index of the image to use to represent the current 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 used when a Row is current.")>

<AmbientValueAttribute(-2147483648)>

<LocalizableAttribute(True)>

<CategoryAttribute("Appearance")>

Public Property CurrentImageIndex As Integer
'Usage
 
Dim instance As RowSelector

Dim value As Integer

 

instance.CurrentImageIndex = value

 

value = instance.CurrentImageIndex
[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 used when a Row is current.")]

[AmbientValue(-2147483648)]

[Localizable(true)]

[Category("Appearance")]

public int CurrentImageIndex {get; set;}

Property Value

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

If the IsCurrentImageIndexAmbient property returns true, then the value of the CurrentImageIndex property is inherited from its parent.

To reset the value of the CurrentImageIndex property to its default value, DefaultCurrentImageIndex, the ResetCurrentImageIndex 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