ComponentOne FlexGrid for WPF and Silverlight
SelectedIndex Property (C1FlexGrid)

C1.Silverlight.FlexGrid Namespace > C1FlexGrid Class : SelectedIndex Property
Gets or sets the index of the data item corresponding to the selected row.
Public Property SelectedIndex As System.Integer
public SelectedIndex {get; set;}

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


C1FlexGrid Class
C1FlexGrid Members