Skip to content

GridViewMarkupExtensions.SelectedIndex method

Sets the selected row index, or -1 when nothing is selected.

public static GridView SelectedIndex(this GridView target, int value)
parameter description
target Target GridView.
value Value assigned to SelectedIndex.

The same element for chaining.

Sets: GridView.SelectedIndex