RibbonQuickAccessToolBarAutomationPeer.Expand Method
Displays all items that are in the RibbonQuickAccessToolBar that is associated with this RibbonQuickAccessToolBarAutomationPeer.
Namespace: Microsoft.Windows.Automation.Peers
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Sub Expand
public void Expand()
public:
virtual void Expand() sealed
abstract Expand : unit -> unit
override Expand : unit -> unit
public final function Expand()
Implements
IExpandCollapseProvider.Expand()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The RibbonQuickAccessToolBar does not have items in the overflow menu. |
.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.