Freigeben über


Picker.SelectedIndex Property

Definition

Gets or sets the index of the selected item of the picker. This is a bindable property.

public:
 property int SelectedIndex { int get(); void set(int value); };
public int SelectedIndex { get; set; }
member this.SelectedIndex : int with get, set
Public Property SelectedIndex As Integer

Property Value

An 0-based index representing the selected item in the list. Default is -1.

Remarks

A value of -1 represents no item selected.

Applies to