RibbonItem Enumeration
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
Description
Each RibbonItem represents an item in the RibbonReferencesTab 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 RibbonReferencesTab.RibbonItemPublic Enum RibbonReferencesTab.RibbonItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_FootnotesGroup | 0 | Identifies the TXITEM_FootnotesGroup ribbon group inside the RibbonReferencesTab ribbon tab. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding Text and KeyTip resources. |
| TXITEM_InsertFootnote | 1 | Identifies the TXITEM_InsertFootnote ribbon item inside the TXITEM_FootnotesGroup 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_DeleteFootnote | 2 | Identifies the TXITEM_DeleteFootnote ribbon item inside the TXITEM_FootnotesGroup 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_EditFootnote | 3 | Identifies the TXITEM_EditFootnote ribbon item inside the TXITEM_FootnotesGroup 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_PreviousFootnote | 4 | Identifies the TXITEM_PreviousFootnote ribbon item inside the TXITEM_FootnotesGroup 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_NextFootnote | 5 | Identifies the TXITEM_NextFootnote ribbon item inside the TXITEM_FootnotesGroup 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_HighlightFootnoteMarks | 6 | Identifies the TXITEM_HighlightFootnoteMarks ribbon item inside the TXITEM_FootnotesGroup 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_FootnotesStartNumber | 7 | Identifies the TXITEM_FootnotesStartNumber ribbon item inside the TXITEM_FootnotesGroup 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_FootnotesNumberFormat | 8 | Identifies the TXITEM_FootnotesNumberFormat ribbon item inside the TXITEM_FootnotesGroup 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_TableOfContentsGroup | 9 | Identifies the TXITEM_TableOfContentsGroup ribbon group inside the RibbonReferencesTab 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_InsertTableOfContents | 10 | Identifies the TXITEM_InsertTableOfContents ribbon item inside the TXITEM_TableOfContentsGroup 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_DeleteTableOfContents | 11 | Identifies the TXITEM_DeleteTableOfContents ribbon item inside the TXITEM_TableOfContentsGroup 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_UpdateTableOfContents | 12 | Identifies the TXITEM_UpdateTableOfContents ribbon item inside the TXITEM_TableOfContentsGroup 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_ModifyTableOfContents | 13 | Identifies the TXITEM_ModifyTableOfContents ribbon item inside the TXITEM_TableOfContentsGroup 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_TableOfContentsPropertiesGroup | 14 | Identifies the TXITEM_TableOfContentsPropertiesGroup ribbon group inside the RibbonReferencesTab 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_TOCMinimumStructureLevel | 15 | Identifies the TXITEM_TOCMinimumStructureLevel ribbon item inside the TXITEM_TableOfContentsPropertiesGroup 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_TOCMaximumStructureLevel | 16 | Identifies the TXITEM_TOCMaximumStructureLevel ribbon item inside the TXITEM_TableOfContentsPropertiesGroup 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_TOCCreateHyperlinks | 17 | Identifies the TXITEM_TOCCreateHyperlinks ribbon item inside the TXITEM_TableOfContentsPropertiesGroup 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_TOCTitle | 18 | Identifies the TXITEM_TOCTitle ribbon item inside the TXITEM_TableOfContentsPropertiesGroup 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_TOCShowPageNumbers | 19 | Identifies the TXITEM_TOCShowPageNumbers ribbon item inside the TXITEM_TableOfContentsPropertiesGroup 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_TOCRightAlignPageNumbers | 20 | Identifies the TXITEM_TOCRightAlignPageNumbers ribbon item inside the TXITEM_TableOfContentsPropertiesGroup 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_ParagraphStructureLevelsGroup | 21 | Identifies the TXITEM_ParagraphStructureLevelsGroup ribbon group inside the RibbonReferencesTab 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_StructureLevelStyles | 22 | Identifies the TXITEM_StructureLevelStyles ribbon item inside the TXITEM_ParagraphStructureLevelsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding KeyTip resource. |
| TXITEM_AddParagraph | 23 | Identifies the TXITEM_AddParagraph ribbon item inside the TXITEM_ParagraphStructureLevelsGroup 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_Footnotes Group value from the Ribbon Item enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Ribbon.RibbonReferencesTab.RibbonItem value = TXTextControl.Windows.Forms.Ribbon.RibbonReferencesTab.RibbonItem.TXITEM_FootnotesGroup;
Console.WriteLine($"Using Ribbon Item: {value}");Dim value As TXTextControl.Windows.Forms.Ribbon.RibbonReferencesTab.RibbonItem = TXTextControl.Windows.Forms.Ribbon.RibbonReferencesTab.RibbonItem.TXITEM_FootnotesGroup
Console.WriteLine($"Using Ribbon Item: {value}")