Xceed Grid for WinForms v4.3 Documentation
AmbientSelectedImageIndex Property


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > RowSelector Class : AmbientSelectedImageIndex Property
Gets the ambient value of the row selector's SelectedImageIndex property.
Syntax
'Declaration
 
Protected Overridable ReadOnly Property AmbientSelectedImageIndex As Integer
'Usage
 
Dim instance As RowSelector
Dim value As Integer
 
value = instance.AmbientSelectedImageIndex
protected virtual int AmbientSelectedImageIndex {get;}

Property Value

A value representing the ambient index of the image to use to represent the selected row.
Remarks

The ambient index is the index inherited from the RowSelectorPane in the case where the RowSelector's SelectedImageIndex property is not explicitly set.

If the value of the IsSelectedImageIndexAmbient property is true then both the AmbientSelectedImageIndex and SelectedImageIndex properties will return the same value.

If the RowSelector does not have an ambient parent (RowSelectorPane), then the value of the DefaultSelectedImageIndex property will be returned.

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