Skip to main content
A newer version of this page is available. .

RibbonButtonBase Members

Serves as the base class for the RibbonButton, RibbonDropdownButton, RibbonToggleButton, RibbonSplitButton.

Constructors

Name Description
RibbonButtonBase() Initializes a new instance of the RibbonButtonBase class.

Fields

Name Description
CommandParameterProperty static Identifies the CommandParameter dependency property.
CommandProperty static Identifies the Command dependency property.
ContentProperty static Identifies the Content dependency property.
ContentTemplateProperty static Identifies the ContentTemplate dependency property.
ContentTemplateSelectorProperty static Identifies the ContentTemplateSelector dependency property.
DisplayModeProperty static Identifies the DisplayMode dependency property.
IsEnabledProperty static Identifies the IsEnabled dependency property. Inherited from RibbonItemBase.
IsVisibleProperty static Identifies the IsVisible dependency property. Inherited from RibbonItemBase.
LargeIconProperty static Identifies the LargeIcon dependency property.
SmallIconProperty static Identifies the SmallIcon dependency property.
StyleSettingsProperty static Identifies the StyleSettings dependency property. Inherited from RibbonItem<TSettings>.
ToolTipDescriptionProperty static Identifies the ToolTipDescription dependency property.
ToolTipProperty static Identifies the ToolTip dependency property.
ToolTipTitleProperty static Identifies the ToolTipTitle dependency property.

Properties

Name Description
Command Gets or sets the command to invoke when the ribbon button is clicked. This is a dependency property.
CommandParameter Gets or sets the parameter to pass to the Command. This is a dependency property.
Content Gets or sets the ribbon button’s content. This is a dependency property.
ContentTemplate Gets or sets the template used to display the ribbon button’s Content. This is a dependency property.
ContentTemplateSelector Gets or sets an object that chooses the ContentTemplate based on custom logic. This is a dependency property.
DisplayMode Gets or sets a flagged enumeration value that specifies the ribbon button’s possible states within a RibbonControl. This is a dependency property.
IsEnabled Gets or sets whether the ribbon item is enabled. This is a dependency property. Inherited from RibbonItemBase.
IsVisible Gets or sets whether the ribbon item is visible. This is a dependency property. Inherited from RibbonItemBase.
LargeIcon Gets or sets the ribbon button’s large icon (32x32 px). This is a dependency property.
SmallIcon Gets or sets the ribbon button’s small icon (16x16 px). This is a dependency property.
StyleSettings Gets or sets style settings applied to a ribbon item. This is a dependency property. Inherited from RibbonItem<TSettings>.
ToolTip Gets or sets the ribbon button’s tooltip. This is a dependency property.
ToolTipDescription Gets or sets the ribbon button’s tooltip description text that is displayed under the ToolTipTitle. This is a dependency property.
ToolTipTitle Gets or sets the ribbon button’s tooltip title text. This is a dependency property.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
Click Fires when the split item is clicked.
See Also