RibbonControlService Class

Represents a service that provides properties and methods to control the display and behavior of Ribbon controls.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Controls.Ribbon.RibbonControlService

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

Syntax

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

The RibbonControlService type exposes the following members.

Attached Properties

  Name Description
Public attached property CanAddToQuickAccessToolBarDirectly Gets or sets a value that indicates whether this control can be added directly to the Quick Access Toolbar.
Public attached property CheckedBackground Gets or sets the brush that is used to draw the background of the control when it is in the Checked state.
Public attached property CheckedBorderBrush Gets or sets the brush that is used to draw the outer border of the control when it in the Checked state.
Public attached property ControlSizeDefinition Gets or sets the RibbonControlSizeDefinition for this control.
Public attached property CornerRadius Gets or sets a value that indicates the amount that the corners of a ribbon button are rounded.
Public attached property DefaultControlSizeDefinition Gets or sets the default RibbonControlSizeDefinition for this control.
Public attached property FocusedBackground Gets or sets the brush that is used to draw the background of the control when it has focus.
Public attached property FocusedBorderBrush Gets or sets the brush that is used to draw the outer border of the control when it has focus.
Public attached property IsInControlGroup Gets a value that indicates whether the control is hosted in a RibbonControlGroup.
Public attached property IsInQuickAccessToolBar Gets a value that indicates whether the control is hosted in the Quick Access Toolbar.
Public attached property Label Gets or sets the text that is displayed next to or below the control.
Public attached property LargeImageSource Gets or sets the image that is displayed on the control when the image size is set to Large.
Public attached property MouseOverBackground Gets or sets the brush that is used to draw the background of the control when the mouse pointer is over it.
Public attached property MouseOverBorderBrush Gets or sets the brush that is used to draw the outer border of the control when the mouse pointer is over it.
Public attached property PressedBackground Gets or sets the brush that is used to draw the background of the control when it is pressed.
Public attached property PressedBorderBrush Gets or sets the brush that is used to draw the outer border of the control when it is pressed.
Public attached property QuickAccessToolBarControlSizeDefinition Gets or sets the RibbonControlSizeDefinition for this control when it is hosted in the Quick Access Toolbar.
Public attached property QuickAccessToolBarId Gets or sets a unique identifier that links a ribbon control to a corresponding control in the Quick Access Toolbar.
Public attached property Ribbon Gets a reference to the Ribbon that this control belongs to.
Public attached property ShowKeyboardCues Gets a value that indicates whether to show the keyboard focus visual for this control.
Public attached property SmallImageSource Gets or sets the image that is displayed on the control when the image size is set to Small.
Public attached property ToolTipDescription Gets or sets the descriptive text that is displayed in the ToolTip for this control.
Public attached property ToolTipFooterDescription Gets or sets the descriptive text that is displayed in the footer of the ToolTip for this control.
Public attached property ToolTipFooterImageSource Gets or sets the image that is displayed in the footer of the ToolTip for this control.
Public attached property ToolTipFooterTitle Gets or sets the title text that is displayed in the footer of the ToolTip for this control.
Public attached property ToolTipImageSource Gets or sets the image that is displayed in the ToolTip for this control.
Public attached property ToolTipTitle Gets or sets the title text that is displayed in the ToolTip for this control.

Top

Methods

  Name Description
Public methodStatic member AddDismissPopupHandler Adds a handler for the DismissPopup attached event.
Public methodStatic member GetCanAddToQuickAccessToolBarDirectly Gets the value of the CanAddToQuickAccessToolBarDirectly attached property for an object.
Public methodStatic member GetCheckedBackground Gets the value of the CheckedBackground attached property for an object.
Public methodStatic member GetCheckedBorderBrush Gets the value of the CheckedBorderBrush attached property for an object.
Public methodStatic member GetControlSizeDefinition Gets the value of the ControlSizeDefinition attached property for an object.
Public methodStatic member GetCornerRadius Gets the value of the CornerRadius attached property for an object.
Public methodStatic member GetDefaultControlSizeDefinition Gets the value of the DefaultControlSizeDefinition attached property for an object.
Public methodStatic member GetFocusedBackground Gets the value of the FocusedBackground attached property for an object.
Public methodStatic member GetFocusedBorderBrush Gets the value of the FocusedBorderBrush attached property for an object.
Public methodStatic member GetIsInControlGroup Gets the value of the IsInControlGroup attached property for an object.
Public methodStatic member GetIsInQuickAccessToolBar Gets the value of the IsInQuickAccessToolBar attached property for an object.
Public methodStatic member GetLabel Gets the value of the Label attached property for an object.
Public methodStatic member GetLargeImageSource Gets the value of the LargeImageSource attached property for an object.
Public methodStatic member GetMouseOverBackground Gets the value of the MouseOverBackground attached property for an object.
Public methodStatic member GetMouseOverBorderBrush Gets the value of the MouseOverBorderBrush attached property for an object.
Public methodStatic member GetPressedBackground Gets the value of the PressedBackground attached property for an object.
Public methodStatic member GetPressedBorderBrush Gets the value of the PressedBorderBrush attached property for an object.
Public methodStatic member GetQuickAccessToolBarControlSizeDefinition Gets the value of the QuickAccessToolBarControlSizeDefinition attached property for an object.
Public methodStatic member GetQuickAccessToolBarId Gets the value of the QuickAccessToolBarId attached property for an object.
Public methodStatic member GetRibbon Gets the value of the Ribbon attached property for an object.
Public methodStatic member GetShowKeyboardCues Gets the value of the ShowKeyboardCues attached property for an object.
Public methodStatic member GetSmallImageSource Gets the value of the SmallImageSource attached property for an object.
Public methodStatic member GetToolTipDescription Gets the value of the ToolTipDescription attached property for an object.
Public methodStatic member GetToolTipFooterDescription Gets the value of the ToolTipFooterDescription attached property for an object.
Public methodStatic member GetToolTipFooterImageSource Gets the value of the ToolTipFooterImageSource attached property for an object.
Public methodStatic member GetToolTipFooterTitle Gets the value of the ToolTipFooterTitle attached property for an object.
Public methodStatic member GetToolTipImageSource Gets the value of the ToolTipImageSource attached property for an object.
Public methodStatic member GetToolTipTitle Gets the value of the ToolTipTitle attached property for an object.
Public methodStatic member RemoveDismissPopupHandler Removes a handler for the DismissPopup attached event.
Public methodStatic member SetCanAddToQuickAccessToolBarDirectly Sets the value of the CanAddToQuickAccessToolBarDirectly attached property for an object.
Public methodStatic member SetCheckedBackground Sets the value of the CheckedBackground attached property for an object.
Public methodStatic member SetCheckedBorderBrush Sets the value of the CheckedBorderBrush attached property for an object.
Public methodStatic member SetControlSizeDefinition Sets the value of the ControlSizeDefinition attached property for an object.
Public methodStatic member SetCornerRadius Sets the value of the CornerRadius attached property for an object.
Public methodStatic member SetDefaultControlSizeDefinition Sets the value of the DefaultControlSizeDefinition attached property for an object.
Public methodStatic member SetFocusedBackground Sets the value of the FocusedBackground attached property for an object.
Public methodStatic member SetFocusedBorderBrush Sets the value of the FocusedBorderBrush attached property for an object.
Public methodStatic member SetLabel Sets the value of the Label attached property for an object.
Public methodStatic member SetLargeImageSource Sets the value of the LargeImageSource attached property for an object.
Public methodStatic member SetMouseOverBackground Sets the value of the MouseOverBackground attached property for an object.
Public methodStatic member SetMouseOverBorderBrush Sets the value of the MouseOverBorderBrush attached property for an object.
Public methodStatic member SetPressedBackground Sets the value of the PressedBackground attached property for an object.
Public methodStatic member SetPressedBorderBrush Sets the value of the PressedBorderBrush attached property for an object.
Public methodStatic member SetQuickAccessToolBarControlSizeDefinition Sets the value of the QuickAccessToolBarControlSizeDefinition attached property for an object.
Public methodStatic member SetQuickAccessToolBarId Sets the value of the QuickAccessToolBarId attached property for an object.
Public methodStatic member SetSmallImageSource Sets the value of the SmallImageSource attached property for an object.
Public methodStatic member SetToolTipDescription Sets the value of the ToolTipDescription attached property for an object.
Public methodStatic member SetToolTipFooterDescription Sets the value of the ToolTipFooterDescription attached property for an object.
Public methodStatic member SetToolTipFooterImageSource Sets the value of the ToolTipFooterImageSource attached property for an object.
Public methodStatic member SetToolTipFooterTitle Sets the value of the ToolTipFooterTitle attached property for an object.
Public methodStatic member SetToolTipImageSource Sets the value of the ToolTipImageSource attached property for an object.
Public methodStatic member SetToolTipTitle Sets the value of the ToolTipTitle attached property for an object.

Top

Attached Events

  Name Description
Public attached event DismissPopup Occurs when a ribbon popup is closed.

Top

Fields

  Name Description
Public fieldStatic member CanAddToQuickAccessToolBarDirectlyProperty Identifies the CanAddToQuickAccessToolBarDirectly dependency property.
Public fieldStatic member CheckedBackgroundProperty Identifies the CheckedBackground dependency property.
Public fieldStatic member CheckedBorderBrushProperty Identifies the CheckedBorderBrush dependency property.
Public fieldStatic member ControlSizeDefinitionProperty Identifies the ControlSizeDefinition dependency property.
Public fieldStatic member CornerRadiusProperty Identifies the CornerRadius dependency property.
Public fieldStatic member DefaultControlSizeDefinitionProperty Identifies the DefaultControlSizeDefinition dependency property.
Public fieldStatic member DismissPopupEvent Identifies the DismissPopup routed event.
Public fieldStatic member FocusedBackgroundProperty Identifies the FocusedBackground dependency property.
Public fieldStatic member FocusedBorderBrushProperty Identifies the FocusedBorderBrush dependency property.
Public fieldStatic member IsInControlGroupProperty Identifies the IsInControlGroup dependency property.
Public fieldStatic member IsInQuickAccessToolBarProperty Identifies the IsInQuickAccessToolBar dependency property.
Public fieldStatic member LabelProperty Identifies the Label dependency property.
Public fieldStatic member LargeImageSourceProperty Identifies the LargeImageSource dependency property.
Public fieldStatic member MouseOverBackgroundProperty Identifies the MouseOverBackground dependency property.
Public fieldStatic member MouseOverBorderBrushProperty Identifies the MouseOverBorderBrush dependency property.
Public fieldStatic member PressedBackgroundProperty Identifies the PressedBackground dependency property.
Public fieldStatic member PressedBorderBrushProperty Identifies the PressedBorderBrush dependency property.
Public fieldStatic member QuickAccessToolBarControlSizeDefinitionProperty Identifies the QuickAccessToolBarControlSizeDefinition dependency property.
Public fieldStatic member QuickAccessToolBarIdProperty Identifies the QuickAccessToolBarId dependency property.
Public fieldStatic member RibbonProperty Identifies the Ribbon dependency property.
Public fieldStatic member ShowKeyboardCuesProperty Identifies the ShowKeyboardCues dependency property.
Public fieldStatic member SmallImageSourceProperty Identifies the SmallImageSource dependency property.
Public fieldStatic member ToolTipDescriptionProperty Identifies the ToolTipDescription dependency property.
Public fieldStatic member ToolTipFooterDescriptionProperty Identifies the ToolTipFooterDescription dependency property.
Public fieldStatic member ToolTipFooterImageSourceProperty Identifies the ToolTipFooterImageSource dependency property.
Public fieldStatic member ToolTipFooterTitleProperty Identifies the ToolTipFooterTitle dependency property.
Public fieldStatic member ToolTipImageSourceProperty Identifies the ToolTipImageSource dependency property.
Public fieldStatic member ToolTipTitleProperty Identifies the ToolTipTitle dependency property.

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