ComponentOne FlexGrid for WPF and Silverlight
SelectedIndex Property (C1FlexGrid)

C1.WPF.FlexGrid Namespace > C1FlexGrid Class : SelectedIndex Property
Gets or sets the index of the data item corresponding to the selected row.
Syntax
'Declaration
 
Public Property SelectedIndex As System.Integer
public System.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

Reference

C1FlexGrid Class
C1FlexGrid Members