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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.