TX Text Control .NET for Windows Forms

RibbonItem Enumeration

Enumeration|Introduced in 25.0
Namespace
TXTextControl
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.

Description

Each RibbonItem represents an item in a TextMiniToolbar. The corresponding string of a RibbonItem is the same as the item's Name property. The RibbonItem enumeration can be used with the FindItem method to get an item and manipulate it.

Syntax

public enum TextMiniToolbar.RibbonItem

Members

MemberValueDescription
TXITEM_FontGroup0Identifies the Font group of the TextMiniToolbar.
TXITEM_FontFamily1Identifies the FontFamily combobox of the TextMiniToolbar.
TXITEM_FontSize2Identifies the FontSize combobox of the TextMiniToolbar.
TXITEM_IncreaseFont3Identifies the IncreaseFont button of the TextMiniToolbar.
TXITEM_DecreaseFont4Identifies the DecreaseFont button of the TextMiniToolbar.
TXITEM_BulletedList5Identifies the BulletedList button of the TextMiniToolbar.
TXITEM_NumberedList6Identifies the NumberedList button of the TextMiniToolbar.
TXITEM_StructuredList7Identifies the StructuredList button of the TextMiniToolbar.
TXITEM_Bold8Identifies the Bold button of the TextMiniToolbar.
TXITEM_Italic9Identifies the Italic button of the TextMiniToolbar.
TXITEM_Underline10Identifies the Underline button of the TextMiniToolbar.
TXITEM_TextBackColor11Identifies the TextBackColor button of the TextMiniToolbar.
TXITEM_TextColor12Identifies the TextColor button of the TextMiniToolbar.
TXITEM_LeftAligned13Identifies the LeftAligned button of the TextMiniToolbar.
TXITEM_Centered14Identifies the Centered button of the TextMiniToolbar.
TXITEM_RightAligned15Identifies the RightAligned button of the TextMiniToolbar.
TXITEM_Justified16Identifies the Justified button of the TextMiniToolbar.
TXITEM_ClearFormatting17Identifies the ClearFormatting button of the TextMiniToolbar.
TXITEM_StylesGroup18Identifies the Styles group of the TextMiniToolbar.
TXITEM_StyleName19Identifies the StyleName gallery of the TextMiniToolbar.
TXITEM_TableLayoutGroup20Identifies the TableLayout group of the TextMiniToolbar.
TXITEM_TableSelect21Identifies the TableSelect button of the TextMiniToolbar.
TXITEM_TableMergeCells22Identifies the TableMergeCells button of the TextMiniToolbar.
TXITEM_TableDelete23Identifies the TableDelete button of the TextMiniToolbar.
TXITEM_TableInsert24Identifies the TableInsert button of the TextMiniToolbar.
TXITEM_TableSplitCells25Identifies the TableSplitCells button of the TextMiniToolbar.

Examples

The following example selects the TXITEM_Font Group value from the Ribbon Item enumeration and uses it as a documented workflow choice.

TextMiniToolbar.RibbonItem value = TextMiniToolbar.RibbonItem.TXITEM_FontGroup;
Console.WriteLine($"Using Ribbon Item: {value}");