Redigera

Dela via


ListControl.SelectedIndex Property

Definition

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