共用方式為


Picker.SelectedIndex Property

Definition

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

public int SelectedIndex { get; set; }
member this.SelectedIndex : int with get, set

Property Value

System.Int32

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