SelectorAutomationPeer.IsSelectionRequired 属性

定义

获取一个值,该值指示 Microsoft UI 自动化 提供程序是否需要至少选择一个子元素。

public:
 property bool IsSelectionRequired { bool get(); };
bool IsSelectionRequired();
public bool IsSelectionRequired { get; }
var boolean = selectorAutomationPeer.isSelectionRequired;
Public ReadOnly Property IsSelectionRequired As Boolean

属性值

Boolean

bool

如果需要选择,则为 true;否则为 false

实现

适用于