ListView.IDataBoundListControl.SelectedIndex Property

Definition

Gets or sets the index of the selected row in a data-bound control.

property int System::Web::UI::WebControls::IDataBoundListControl::SelectedIndex { int get(); void set(int value); };
int System.Web.UI.WebControls.IDataBoundListControl.SelectedIndex { get; set; }
member this.System.Web.UI.WebControls.IDataBoundListControl.SelectedIndex : int with get, set
 Property SelectedIndex As Integer Implements IDataBoundListControl.SelectedIndex

Property Value

The index of the selected row in a data-bound control.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ListView instance is cast to an IDataBoundListControl interface.

Applies to