Edytuj

Udostępnij za pośrednictwem


RibbonMenuItemDataAutomationPeer.IExpandCollapseProvider.ExpandCollapseState Property

Definition

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

Property Value

The state of the RibbonMenuItem that is associated with this RibbonMenuItemDataAutomationPeer.

Implements

Exceptions

Remarks

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

Applies to