Share via


RibbonAutomationPeer.Collapse Method

Minimizes the Ribbon.

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

Syntax

'Declaration
Public Sub Collapse
public void Collapse()
public:
virtual void Collapse() sealed
abstract Collapse : unit -> unit 
override Collapse : unit -> unit 
public final function Collapse()

Implements

IExpandCollapseProvider.Collapse()

Remarks

This method sets the IsMinimized property to true.

.NET Framework Security

See Also

Reference

RibbonAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace