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 ObjectMiniToolbar. 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 ObjectMiniToolbar.RibbonItem

Members

MemberValueDescription
TXITEM_TextFrame_BordersandBackgroundGroup0Identifies the BordersandBackground group for the selected text frame.
TXITEM_TextFrameBackColor1Identifies the Back Color button for the selected text frame.
TXITEM_TextFrameTransparency3Identifies the Transparency button for the selected text frame.
TXITEM_TextFrameLineWidth2Identifies the Line Width button for the selected text frame.
TXITEM_TextFrameBorderColor4Identifies the Border Color button for the selected text frame.
TXITEM_Drawing_BordersandBackgroundGroup5Identifies the BordersandBackground group for the selected drawing frame.
TXITEM_DrawingBackColor6Identifies the Back Color button for the selected drawing frame.
TXITEM_DrawingTransparency7Identifies the Transparency button for the selected drawing frame.
TXITEM_DrawingLineColor8Identifies the Line Color button for the selected drawing frame.
TXITEM_DrawingLineWidth9Identifies the Line Width button for the selected drawing frame.
TXITEM_Barcode_ColorsAndAlignmentGroup10Identifies the ColorsAndAlignment group for the selected barcode frame.
TXITEM_BarcodeBackColor11Identifies the Back Color button for the selected barcode frame.
TXITEM_BarcodeForeColor12Identifies the Fore Color button for the selected barcode frame.
TXITEM_BarcodeTransparency13Identifies the Transparency button for the selected barcode frame.

Examples

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

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