TX Text Control .NET for Windows Forms

RibbonForm Class

Class|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Windows.Forms.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.Windows.Forms.dll from the setup.
Inherits
  1. Form
  2. RibbonForm

Description

The RibbonForm class represents a Windows Forms form that can draw a Ribbon Quick Access Toolbar and contextual tabs in its border. It is inherited from the System.Windows.Forms.Form class. The following describes only the properties, methods and events defined through the RibbonForm class. For a list of properties, methods and events inherited from the System.Windows.Forms.Form class see the .NET Framework reference.

Syntax

public class RibbonForm : Form

Examples

The following example creates a Ribbon Form instance and configures its has quick access toolbar setting for a document workflow.

using TXTextControl.Windows.Forms.Ribbon.RibbonForm ribbonForm = new();
ribbonForm.HasQuickAccessToolbar = true;

Members

Constructors

ConstructorDescription
RibbonFormInitializes a new instance of the RibbonForm class.

Properties

PropertyDescription
HasQuickAccessToolbarGets or sets a value defining whether a quick access toolbar is shown in the caption area of the RibbonForm.
QuickAccessToolbarPositionGets or sets a value defining the position of the quick access toolbar, above or below the ribbon.

Methods

MethodDescription
SetQuickAccessToolbarStandardItemsSpecifies the standard items of the Quick Access Toolbar. Additional items can be added and removed through a context menu.