FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.FlexGrid Namespace / C1FlexGrid Class / SelectedIndex Property

In This Topic
    SelectedIndex Property (C1FlexGrid)
    In This Topic
    Gets or sets the index of the data item corresponding to the selected row.
    Syntax
    'Declaration
     
    Public Property SelectedIndex As Integer
    public int SelectedIndex {get; set;}
    Remarks

    In unbound mode, there are no data items associated with the rows, and this property always returns -1.

    You can get the index of the selected row in bound and unbound modes using the Selection property.

    See Also