Dela via


RibbonAutomationPeer.ExpandCollapseState Property

Gets the state, expanded or collapsed, of the control that is associated with this RibbonAutomationPeer.

Namespace:  Microsoft.Windows.Automation.Peers
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public ReadOnly Property ExpandCollapseState As ExpandCollapseState
public ExpandCollapseState ExpandCollapseState { get; }
public:
virtual property ExpandCollapseState ExpandCollapseState {
    ExpandCollapseState get () sealed;
}
abstract ExpandCollapseState : ExpandCollapseState
override ExpandCollapseState : ExpandCollapseState
final function get ExpandCollapseState () : ExpandCollapseState

Property Value

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

Implements

IExpandCollapseProvider.ExpandCollapseState

.NET Framework Security

See Also

Reference

RibbonAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace