Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RibbonCommands Class
Collapse the table of content
Expand the table of content

RibbonCommands Class

.NET Framework 4.6 and 4.5

Provides static access to standard ribbon commands.


Namespace:  System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

public static class RibbonCommands

The RibbonCommands type exposes the following members.

Public propertyStatic memberAddToQuickAccessToolBarCommandGets a reference to the AddToQuickAccessToolBar command.
Public propertyStatic memberMaximizeRibbonCommandGets a reference to the MaximizeRibbon command.
Public propertyStatic memberMinimizeRibbonCommandGets a reference to the MinimizeRibbon command.
Public propertyStatic memberRemoveFromQuickAccessToolBarCommandGets a reference to the RemoveFromQuickAccessToolbar command.
Public propertyStatic memberShowQuickAccessToolBarAboveRibbonCommandGets a reference to the ShowQuickAccessToolBarAboveRibbon command.
Public propertyStatic memberShowQuickAccessToolBarBelowRibbonCommandGets a reference to the ShowQuickAccessToolBarBelowRibbon command.

.NET Framework

Supported in: 4.6, 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft