TX Text Control .NET Documentation

TXTextControl.Windows.Forms.Ribbon.RibbonButton Class

The RibbonButton class is a button control which can be added to a RibbonGroup or to a RibbonMenuButton where it is stored as an item of the drop-down menu. Furthermore it is the base class of the RibbonToggleButton and RibbonMenuButton classes. The RibbonButton class is inherited from the System.Windows.Forms.Control class and implements the System.ComponentModel.INotifyPropertyChanged interface. The following describes only the properties, methods and events defined through the RibbonButton class. For a list of properties, methods and events inherited from the System.Windows.Forms.Control class and theSystem.ComponentModel.INotifyPropertyChanged interface see the .NET Framework reference.

Introduced: 24.0.

Syntax

[C#] public class RibbonButton : System.Windows.Forms.Control, System.ComponentModel.INotifyPropertyChanged
[Visual Basic] Public Class RibbonButton Inherits System.Windows.Forms.Control Implements System.ComponentModel.INotifyPropertyChanged

Constructors

ConstructorDescription
RibbonButtonInitializes a new instance of the RibbonButton class.

Properties

PropertyDescription
DescriptionGets or sets the description text that appears on this button in a RibbonMenuButton's drop down menu when the DisplayMode property of the button is set to IconTextRelation.LargeIconLabeled.
DisplayModeSets the RibbonButton's superordinate display settings and gets its corresponding text icon relation rendering to the current group's width.
IsAddToQuickAccessToolbarEnabledGets or sets value whether the RibbonButton can be added to the quick access toolbar.
KeyTipGets or sets the keyboard shortcut of the RibbonButton.
LargeIconGets or sets a 32x32 icon for this RibbonButton.
ParentCollectionGets the RibbonItemCollection that contains this RibbonButton.
SmallIconGets or sets a 16x16 icon for this RibbonButton.
TextOverridden. Gets or sets the RibbonButton's text.
ToolTipGets an object of type RibbonToolTip that displays text when the mouse pointer hovers over the item.

See Also

 
 
Call us: +1 704-544-7445 (United States)
 
 

Products

Support

Downloads

Corporate

Buy Now

About Text Control

Founded in 1991, Text Control is an award-winning Visual Studio Industry Partner and leading vendor of word processing and reporting components for Microsoft development technologies. The products help thousands of developers add comprehensive word processing functionality to their applications. Text Control is 100% self-owned and independent of all investor decisions. Customers benefit from these years of experience, large user-base, and at the same time, appreciate developing with a mature, reliable product.

SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100Visual Studio 2015 Launch PartnerVisual Studio 2013 Launch PartnerVisual Studio 2012 Launch PartnerVisual Studio Partner