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


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > RowSelector Class : SelectedImageIndex Property
Gets or sets the index of the image to use to represent the selected 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 selected row.")>

<AmbientValueAttribute(-2147483648)>

<LocalizableAttribute(True)>

<CategoryAttribute("Appearance")>

Public Property SelectedImageIndex As Integer
'Usage
 
Dim instance As RowSelector

Dim value As Integer

 

instance.SelectedImageIndex = value

 

value = instance.SelectedImageIndex
[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 selected row.")]

[AmbientValue(-2147483648)]

[Localizable(true)]

[Category("Appearance")]

public int SelectedImageIndex {get; set;}

Property Value

A value representing the selected image's index.
Remarks

If the IsSelectedImageIndexAmbient property returns true, then the value of the SelectedImageIndex property is inherited from its parent.

To reset the value of the SelectedImageIndex property to its default value, DefaultSelectedImageIndex, the ResetSelectedImageIndex 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