RibbonMenuItemDataAutomationPeer.IExpandCollapseProvider.ExpandCollapseState 属性

定义

获取与此 RibbonMenuItem 关联的 RibbonMenuItemDataAutomationPeer 的状态(已展开或已折叠)。

property System::Windows::Automation::ExpandCollapseState System::Windows::Automation::Provider::IExpandCollapseProvider::ExpandCollapseState { System::Windows::Automation::ExpandCollapseState get(); };
System.Windows.Automation.ExpandCollapseState System.Windows.Automation.Provider.IExpandCollapseProvider.ExpandCollapseState { get; }
member this.System.Windows.Automation.Provider.IExpandCollapseProvider.ExpandCollapseState : System.Windows.Automation.ExpandCollapseState
 ReadOnly Property ExpandCollapseState As ExpandCollapseState Implements IExpandCollapseProvider.ExpandCollapseState

属性值

ExpandCollapseState

与此 RibbonMenuItem 关联的 RibbonMenuItemDataAutomationPeer 的状态。

实现

例外

注解

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

适用于