TX Text Control .NET for WPF

RibbonItem Enumeration

Enumeration|Introduced in 22.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.WPF.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 RibbonFormattingTab's FrameworkElement.FindName 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_FontFamily5Identifies 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_FontSize6Identifies 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_IncreaseFont7Identifies 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_DecreaseFont8Identifies 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_ClearFormatting9Identifies 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_Bold10Identifies 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_Italic11Identifies 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_Underline12Identifies 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_Strikeout13Identifies 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_Subscript14Identifies 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_Superscript15Identifies 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_ChangeCase16Identifies 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_TextBackColor17Identifies 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_TextColor18Identifies 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_CharacterFormatting19Identifies the TXITEM_CharacterFormatting 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_BulletedList21Identifies 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_NumberedList22Identifies 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_StructuredList23Identifies 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_DecreaseIndent24Identifies 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_IncreaseIndent25Identifies 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_LeftToRight26Identifies 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_RightToLeft27Identifies 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_EditTabs28Identifies 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_ControlChars29Identifies 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_LeftAligned30Identifies 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_Centered31Identifies 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_RightAligned32Identifies 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_Justified33Identifies 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_LineSpacing34Identifies 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_Borders35Identifies 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_BackColor36Identifies 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_FrameLineColor37Identifies 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_FrameLineWidth38Identifies 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_ParagraphFormatting39Identifies the TXITEM_ParagraphFormatting 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_StylesGroup40Identifies 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_StyleName41Identifies 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_EditingGroup42Identifies 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_Find43Identifies 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_Sidebars44Identifies 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. Limitations: The FindName method returns null when passing this RibbonItem as an argument. Use the RibbonItem.TXITEM_Find identifier instead.
TXITEM_Replace45Identifies 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_Sidebars46Identifies 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. Limitations: The FindName method returns null when passing this RibbonItem as an argument. Use the RibbonItem.TXITEM_Replace identifier instead.
TXITEM_Goto47Identifies 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_Sidebars48Identifies 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. Limitations: The FindName method returns null when passing this RibbonItem as an argument. Use the RibbonItem.TXITEM_Goto identifier instead.
TXITEM_SelectAll49Identifies 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_SelectObjects50Identifies 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.

Examples

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

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