RibbonControlService Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a service that provides properties and methods to control the display and behavior of Ribbon controls.
public ref class RibbonControlService abstract sealed
public static class RibbonControlService
type RibbonControlService = class
Public Class RibbonControlService
- Inheritance
-
RibbonControlService
Fields
Attached Properties
CanAddToQuickAccessToolBarDirectly |
Gets or sets a value that indicates whether this control can be added directly to the Quick Access Toolbar. |
CheckedBackground |
Gets or sets the brush that is used to draw the background of the control when it is in the Checked state. |
CheckedBorderBrush |
Gets or sets the brush that is used to draw the outer border of the control when it in the Checked state. |
ControlSizeDefinition |
Gets or sets the RibbonControlSizeDefinition for this control. |
CornerRadius |
Gets or sets a value that indicates the amount that the corners of a ribbon button are rounded. |
DefaultControlSizeDefinition |
Gets or sets the default RibbonControlSizeDefinition for this control. |
FocusedBackground |
Gets or sets the brush that is used to draw the background of the control when it has focus. |
FocusedBorderBrush |
Gets or sets the brush that is used to draw the outer border of the control when it has focus. |
IsInControlGroup |
Gets a value that indicates whether the control is hosted in a RibbonControlGroup. |
IsInQuickAccessToolBar |
Gets a value that indicates whether the control is hosted in the Quick Access Toolbar. |
Label |
Gets or sets the text that is displayed next to or below the control. |
LargeImageSource |
Gets or sets the image that is displayed on the control when the image size is set to Large. |
MouseOverBackground |
Gets or sets the brush that is used to draw the background of the control when the mouse pointer is over it. |
MouseOverBorderBrush |
Gets or sets the brush that is used to draw the outer border of the control when the mouse pointer is over it. |
PressedBackground |
Gets or sets the brush that is used to draw the background of the control when it is pressed. |
PressedBorderBrush |
Gets or sets the brush that is used to draw the outer border of the control when it is pressed. |
QuickAccessToolBarControlSizeDefinition |
Gets or sets the RibbonControlSizeDefinition for this control when it is hosted in the Quick Access Toolbar. |
QuickAccessToolBarId |
Gets or sets a unique identifier that links a ribbon control to a corresponding control in the Quick Access Toolbar. |
Ribbon |
Gets a reference to the Ribbon that this control belongs to. |
ShowKeyboardCues |
Gets a value that indicates whether to show the keyboard focus visual for this control. |
SmallImageSource |
Gets or sets the image that is displayed on the control when the image size is set to Small. |
ToolTipDescription |
Gets or sets the descriptive text that is displayed in the ToolTip for this control. |
ToolTipFooterDescription |
Gets or sets the descriptive text that is displayed in the footer of the ToolTip for this control. |
ToolTipFooterImageSource |
Gets or sets the image that is displayed in the footer of the ToolTip for this control. |
ToolTipFooterTitle |
Gets or sets the title text that is displayed in the footer of the ToolTip for this control. |
ToolTipImageSource |
Gets or sets the image that is displayed in the ToolTip for this control. |
ToolTipTitle |
Gets or sets the title text that is displayed in the ToolTip for this control. |
Methods
Attached Events
DismissPopup |
Occurs when a ribbon popup is closed. |