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

适用于