RibbonTab Class
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
- Inherits
- Tab
Page - Ribbon
Tab
- Tab
Description
The RibbonTab class represents a tab in a Ribbon. A RibbonTab can be used to organize related groups of commands in a Ribbon. The RibbonTab hosts one or more RibbonGroup instances and is the base class of predefined tabs such as the RibbonFormattingTab, RibbonInsertTab, RibbonPageLayoutTab, RibbonViewTab, RibbonProofingTab, RibbonReportingTab, RibbonTableLayoutTab, RibbonFormulaTab, RibbonFrameLayoutTab, RibbonChartLayoutTab, RibbonPermissionsTab and RibbonFormFieldsTab. A RibbonGroup then hosts controls that represent application commands. A RibbonTab is inherited from the System.Windows.Forms.TabPage class. The following describes only the properties, methods and events defined through the RibbonTab class. For a list of properties, methods and events inherited from the System.Windows.Forms.TabPage class see the .NET Framework reference.
Syntax
public class RibbonTab : TabPagePublic Class RibbonTab
Inherits TabPageExamples
The following example creates a Ribbon Tab instance and configures its key tip setting for a document workflow.
using TXTextControl.Windows.Forms.Ribbon.RibbonTab ribbonTab = new();
ribbonTab.KeyTip = "Quarterly report";Dim ribbonTab As New TXTextControl.Windows.Forms.Ribbon.RibbonTab()
ribbonTab.KeyTip = "Quarterly report"Members
Constructors
| Constructor | Description |
|---|---|
| RibbonTab | Initializes a new instance of the RibbonTab class. |
Properties
| Property | Description |
|---|---|
| KeyTip | Gets or sets the keyboard shortcut of the RibbonTab. |
| RibbonGroups | Gets a collection of all RibbonGroups in a RibbonTab. A RibbonGroup then hosts controls that represent application commands. The property value is of the type RibbonGroupCollection. |