Picker.SelectedIndex 屬性

定義

取得或設定選擇器所選項目的索引。 這是可繫結屬性。

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

屬性值

以 0 起始的索引,代表清單中選取的專案。 預設值為 -1。

備註

值為 -1 表示未選取任何專案。

適用於