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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.