共用方式為


Picker.Items Property

Definition

Gets the list of choices.

public System.Collections.Generic.IList<string> Items { get; }
member this.Items : System.Collections.Generic.IList<string>

Property Value

System.Collections.Generic.IList<System.String>

An IList<string> representing the Picker choices.

Remarks

This property is read-only, but exposes the IList<> interface, so items can be added using Add().

Applies to