The Ribbon class is a command bar that organizes the features of an application into a series of tabs at the top of the application window. It replaces both the traditional menu bar and toolbars. It hosts an Application Menu, and one or more Ribbon
public class Ribbon : System.Windows.Forms.TabControl
Public Class Ribbon
Inherits System.Windows.Forms.TabControl
Introduced: X14.
The following example shows a Ribbon class. The class uses its Color property and sets the value of the property to White.
TXTextControl.Windows.Forms.Ribbon.Ribbon ribbon =
new TXTextControl.Windows.Forms.Ribbon.Ribbon();
ribbon.DisplayColors = TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors.White;
Dim ribbon As TXTextControl.Windows.Forms.Ribbon.Ribbon =
New TXTextControl.Windows.Forms.Ribbon.Ribbon()
ribbon.DisplayColors = TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors.White
Constructor | Description |
---|---|
Ribbon | Initializes a new instance of the Ribbon class. |
Property | Description |
---|---|
Application |
Gets a collection of all items which are displayed on the help pane of the Application Menu. |
Application |
Gets a collection of all items which are displayed on the Application Menu. |
Contextual |
Gets a collection of all contextual tab groups of this ribbon. |
Display |
Gets or sets the colors of the ribbon. |
Has |
Gets or sets a value defining whether the first tab of the ribbon is an application menu. |
Minimized | Gets or sets a value determining whether the ribbon is shown minimized. |
Read |
Gets or sets a value determining the ribbon's read only mode. |
Learn more about the TXText