ListControl.SelectedIndex Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, gets or sets the zero-based index of the currently selected item.
public:
abstract property int SelectedIndex { int get(); void set(int value); };
public abstract int SelectedIndex { get; set; }
member this.SelectedIndex : int with get, set
Public MustOverride Property SelectedIndex As Integer
Property Value
A zero-based index of the currently selected item. A value of negative one (-1) is returned if no item is selected.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.