RibbonCommands Class

Provides static access to standard ribbon commands.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Controls.Ribbon.RibbonCommands

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public NotInheritable Class RibbonCommands
public static class RibbonCommands
public ref class RibbonCommands abstract sealed
[<AbstractClass>]
[<Sealed>]
type RibbonCommands =  class end
public final class RibbonCommands

The RibbonCommands type exposes the following members.

Properties

  Name Description
Public propertyStatic member AddToQuickAccessToolBarCommand Gets a reference to the AddToQuickAccessToolBar command.
Public propertyStatic member MaximizeRibbonCommand Gets a reference to the MaximizeRibbon command.
Public propertyStatic member MinimizeRibbonCommand Gets a reference to the MinimizeRibbon command.
Public propertyStatic member RemoveFromQuickAccessToolBarCommand Gets a reference to the RemoveFromQuickAccessToolbar command.
Public propertyStatic member ShowQuickAccessToolBarAboveRibbonCommand Gets a reference to the ShowQuickAccessToolBarAboveRibbon command.
Public propertyStatic member ShowQuickAccessToolBarBelowRibbonCommand Gets a reference to the ShowQuickAccessToolBarBelowRibbon command.

Top

Thread Safety

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

See Also

Reference

Microsoft.Windows.Controls.Ribbon Namespace