TX Text Control .NET for Windows Forms

RibbonTextBox Constructor

Constructor|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Initializes a new instance of the RibbonTextBox class.

Syntax

public RibbonTextBox();

Examples

The following example creates a Ribbon Text Box instance and configures its display mode setting for a document workflow.

using TXTextControl.Windows.Forms.Ribbon.RibbonTextBox ribbonTextBox = new();
ribbonTextBox.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.NoIconLabeled;