RibbonMenuButtonAutomationPeer.IExpandCollapseProvider.ExpandCollapseState 属性

定义

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

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

与此 RibbonMenuButton 关联的 RibbonMenuButtonAutomationPeer 的状态。

实现

注解

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

适用于