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

Namespace:  C1.Silverlight.FlexGrid
Assembly:  C1.Silverlight.FlexGrid.4 (in C1.Silverlight.FlexGrid.4.dll)

Syntax

C#
public int SelectedIndex { get; set; }
Visual Basic
Public Property SelectedIndex As Integer
	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