TX Text Control .NET for Windows Forms

Ribbon Property

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

Description

Specifies the ribbon control to be used with a TextControl. The property value is null if there is no ribbon connected. Otherwise it is an object of the type Ribbon.

Syntax

public Ribbon Ribbon { get; set; }

Examples

The following example uses TextControl.Ribbon to configure ribbon as part of the text control workflow. The change is then applied to the active document or user interface.

textControl.Ribbon = new TXTextControl.Windows.Forms.Ribbon.Ribbon();
textControl.Update();