RibbonTabDataAutomationPeer.IExpandCollapseProvider.Collapse Method
Hides all nodes, controls, or content that are descendants of the control.
Namespace: Microsoft.Windows.Automation.Peers
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Private Sub Collapse Implements IExpandCollapseProvider.Collapse
void IExpandCollapseProvider.Collapse()
private:
virtual void Collapse() sealed = IExpandCollapseProvider::Collapse
private abstract Collapse : unit -> unit
private override Collapse : unit -> unit
JScript does not support explicit interface implementations.
Implements
IExpandCollapseProvider.Collapse()
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
- 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.