RibbonAutomationPeer.ISelectionProvider.IsSelectionRequired 属性

获取指定的 Ribbon 需要被选取至少一个子元素的值。

命名空间:  Microsoft.Windows.Automation.Peers
程序集:  RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)

语法

声明
Private ReadOnly Property IsSelectionRequired As Boolean
    Implements ISelectionProvider.IsSelectionRequired
    Get
bool ISelectionProvider.IsSelectionRequired { get; }
private:
virtual property bool IsSelectionRequired {
    bool get () sealed = ISelectionProvider::IsSelectionRequired::get;
}
private abstract IsSelectionRequired : bool
private override IsSelectionRequired : bool
JScript 不支持显式接口实现。

属性值

类型:System.Boolean
在所有情况下均为 true。

实现

ISelectionProvider.IsSelectionRequired

备注

此成员是显式的接口成员实现。 它只能在 RibbonAutomationPeer 实例强制转换为 ISelectionProvider 接口时使用。

.NET Framework 安全性

请参见

参考

RibbonAutomationPeer 类

Microsoft.Windows.Automation.Peers 命名空间