RibbonMenuButtonAutomationPeer.IExpandCollapseProvider.ExpandCollapseState Property

.NET Framework 4.6 and 4.5

Gets the state, expanded or collapsed, of the RibbonMenuButton that is associated with this RibbonMenuButtonAutomationPeer.

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState { get; }

Property Value

Type: System.Windows.Automation.ExpandCollapseState
The state of the RibbonMenuButton that is associated with this RibbonMenuButtonAutomationPeer.

Implements

IExpandCollapseProvider.ExpandCollapseState

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

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft