Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / RowSelector Class / AmbientCurrentImageIndex Property


In This Topic
    AmbientCurrentImageIndex Property
    In This Topic
    Gets the ambient value of the row selector's CurrentImageIndex property.
    Syntax
    'Declaration
     
    Protected Overridable ReadOnly Property AmbientCurrentImageIndex As Integer
    'Usage
     
    Dim instance As RowSelector
    Dim value As Integer
     
    value = instance.AmbientCurrentImageIndex
    protected virtual int AmbientCurrentImageIndex {get;}

    Property Value

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

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

    If the value of the IsCurrentImageIndexAmbient property is true then both the AmbientCurrentImageIndex and CurrentImageIndex properties will return the same value.

    If the RowSelector does not have an ambient parent (RowSelectorPane), then the value of the DefaultCurrentImageIndex 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