TX Text Control .NET for Windows Forms

RibbonItem Enumeration

Enumeration|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.

Description

Each RibbonItem represents an item in the RibbonFormattingTab that is not a drop-down item. 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 or with the ResourceProvider class that provides static methods to receive bitmaps or strings which are associated with the corresponding ribbon item.

Syntax

public enum RibbonFormattingTab.RibbonItem

Members

MemberValueDescription
TXITEM_ClipboardGroup0Identifies the TXITEM_ClipboardGroup ribbon group inside the RibbonFormattingTab ribbon tab. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text and KeyTip resources.
TXITEM_Paste1Identifies the TXITEM_Paste ribbon item inside the TXITEM_ClipboardGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_Cut2Identifies the TXITEM_Cut ribbon item inside the TXITEM_ClipboardGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_Copy3Identifies the TXITEM_Copy ribbon item inside the TXITEM_ClipboardGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_FontGroup4Identifies the TXITEM_FontGroup ribbon group inside the RibbonFormattingTab ribbon tab. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text and KeyTip resources.
TXITEM_FontGroup_DialogBoxLauncher5Identifies the dialog box launcher of the TXITEM_FontGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle and ToolTipDescription resources. Limitations: The FindItem method returns null when passing this RibbonItem as an argument.
TXITEM_FontFamily6Identifies the TXITEM_FontFamily ribbon item inside the TXITEM_FontGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_FontSize7Identifies the TXITEM_FontSize ribbon item inside the TXITEM_FontGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_IncreaseFont8Identifies the TXITEM_IncreaseFont ribbon item inside the TXITEM_FontGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_DecreaseFont9Identifies the TXITEM_DecreaseFont ribbon item inside the TXITEM_FontGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_ClearFormatting10Identifies the TXITEM_ClearFormatting ribbon item inside the TXITEM_FontGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_Bold11Identifies the TXITEM_Bold ribbon item inside the TXITEM_FontGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_Italic12Identifies the TXITEM_Italic ribbon item inside the TXITEM_FontGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_Underline13Identifies the TXITEM_Underline ribbon item inside the TXITEM_FontGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_Strikeout14Identifies the TXITEM_Strikeout ribbon item inside the TXITEM_FontGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_Subscript15Identifies the TXITEM_Subscript ribbon item inside the TXITEM_FontGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_Superscript16Identifies the TXITEM_Superscript ribbon item inside the TXITEM_FontGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_ChangeCase17Identifies the TXITEM_ChangeCase ribbon item inside the TXITEM_FontGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_TextBackColor18Identifies the TXITEM_TextBackColor ribbon item inside the TXITEM_FontGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_TextColor19Identifies the TXITEM_TextColor ribbon item inside the TXITEM_FontGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_ParagraphGroup20Identifies the TXITEM_ParagraphGroup ribbon group inside the RibbonFormattingTab ribbon tab. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text and KeyTip resources.
TXITEM_ParagraphGroup_DialogBoxLauncher21Identifies the dialog box launcher of the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle and ToolTipDescription resources. Limitations: The FindItem method returns null when passing this RibbonItem as an argument.
TXITEM_BulletedList22Identifies the TXITEM_BulletedList ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_NumberedList23Identifies the TXITEM_NumberedList ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_StructuredList24Identifies the TXITEM_StructuredList ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_DecreaseIndent25Identifies the TXITEM_DecreaseIndent ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_IncreaseIndent26Identifies the TXITEM_IncreaseIndent ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_LeftToRight27Identifies the TXITEM_LeftToRight ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_RightToLeft28Identifies the TXITEM_RightToLeft ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_EditTabs29Identifies the TXITEM_EditTabs ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_ControlChars30Identifies the TXITEM_ControlChars ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_LeftAligned31Identifies the TXITEM_LeftAligned ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_Centered32Identifies the TXITEM_Centered ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_RightAligned33Identifies the TXITEM_RightAligned ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_Justified34Identifies the TXITEM_Justified ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_LineSpacing35Identifies the TXITEM_LineSpacing ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_Borders36Identifies the TXITEM_Borders ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_BackColor45Identifies the TXITEM_BackColor ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_FrameLineColor46Identifies the TXITEM_FrameLineColor ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_FrameLineWidth47Identifies the TXITEM_FrameLineWidth ribbon item inside the TXITEM_ParagraphGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_StylesGroup48Identifies the TXITEM_StylesGroup ribbon group inside the RibbonFormattingTab ribbon tab. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text and KeyTip resources.
TXITEM_StylesGroup_DialogBoxLauncher49Identifies the dialog box launcher of the TXITEM_StylesGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, ToolTipTitle and ToolTipDescription resources. Limitations: The FindItem method returns null when passing this RibbonItem as an argument.
TXITEM_StyleName50Identifies the TXITEM_StyleName ribbon item inside the TXITEM_StylesGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_EditingGroup51Identifies the TXITEM_EditingGroup ribbon group inside the RibbonFormattingTab ribbon tab. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text and KeyTip resources.
TXITEM_Find52Identifies the TXITEM_Find ribbon item inside the TXITEM_EditingGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_Find_Sidebars53Identifies the TXITEM_Find_Sidebars ribbon item inside the TXITEM_EditingGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_Replace54Identifies the TXITEM_Replace ribbon item inside the TXITEM_EditingGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_Replace_Sidebars55Identifies the TXITEM_Replace_Sidebars ribbon item inside the TXITEM_EditingGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle and ToolTipDescription resources.
TXITEM_Goto56Identifies the TXITEM_Goto ribbon item inside the TXITEM_EditingGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_Goto_Sidebars57Identifies the TXITEM_Goto_Sidebars ribbon item inside the TXITEM_EditingGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_SelectAll58Identifies the TXITEM_SelectAll ribbon item inside the TXITEM_EditingGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_SelectObjects59Identifies the TXITEM_SelectObjects ribbon item inside the TXITEM_EditingGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_LeftFrameLine37Not described in the reference.
TXITEM_TopFrameLine38Not described in the reference.
TXITEM_RightFrameLine39Not described in the reference.
TXITEM_BottomFrameLine40Not described in the reference.
TXITEM_BoxFrame41Not described in the reference.
TXITEM_AllFrameLines42Not described in the reference.
TXITEM_InnerHorizontalFrameLines43Not described in the reference.
TXITEM_InnerVerticalFrameLines44Not described in the reference.

Examples

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

TXTextControl.Windows.Forms.Ribbon.RibbonFormattingTab.RibbonItem value = TXTextControl.Windows.Forms.Ribbon.RibbonFormattingTab.RibbonItem.TXITEM_ClipboardGroup;
Console.WriteLine($"Using Ribbon Item: {value}");