共用方式為


SelectorItem.IsSelected 屬性

定義

取得或設定值,這個值表示是否在選取器中選取專案。

public:
 property bool IsSelected { bool get(); void set(bool value); };
bool IsSelected();

void IsSelected(bool value);
public bool IsSelected { get; set; }
var boolean = selectorItem.isSelected;
selectorItem.isSelected = boolean;
Public Property IsSelected As Boolean
<selectorItem IsSelected="bool" />

屬性值

Boolean

bool

如果選取專案,則為 true;否則為 false

適用於