[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.C1FlexGrid.SelectedIndex

SelectedIndex Property

SelectedIndex

Gets or sets the index of the data item corresponding to the selected row.

Declaration
public int SelectedIndex { get; set; }
Remarks
<p>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.