RibbonMenuItemDataAutomationPeer.IExpandCollapseProvider.ExpandCollapseState Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The RibbonMenuItem is virtualized.
The RibbonMenuItem is not available.
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
.NET