Share via


RibbonTabDataAutomationPeer.IExpandCollapseProvider.ExpandCollapseState Property

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

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

Syntax

'Declaration
Private ReadOnly Property ExpandCollapseState As ExpandCollapseState
    Implements IExpandCollapseProvider.ExpandCollapseState
ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState { get; }
private:
virtual property ExpandCollapseState ExpandCollapseState {
    ExpandCollapseState get () sealed = IExpandCollapseProvider::ExpandCollapseState::get;
}
private abstract ExpandCollapseState : ExpandCollapseState
private override ExpandCollapseState : ExpandCollapseState
JScript does not support explicit interface implementations.

Property Value

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

Implements

IExpandCollapseProvider.ExpandCollapseState

Remarks

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

.NET Framework Security

See Also

Reference

RibbonTabDataAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace