Picker.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.
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.