RibbonMenuButtonAutomationPeer.IExpandCollapseProvider.ExpandCollapseState Property

Definition

Gets the state, expanded or collapsed, of the RibbonMenuButton that is associated with this 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

Property Value

The state of the RibbonMenuButton that is associated with this RibbonMenuButtonAutomationPeer.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the RibbonMenuButtonAutomationPeer instance is cast to an IExpandCollapseProvider interface.

Applies to