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 RibbonInsertTab 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 RibbonInsertTab.RibbonItemPublic Enum RibbonInsertTab.RibbonItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_PageGroup | 0 | Identifies the TXITEM_PageGroup ribbon group inside the RibbonInsertTab 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_InsertPage | 1 | Identifies the TXITEM_InsertPage ribbon item inside the TXITEM_PageGroup 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_InsertPageBreak | 2 | Identifies the TXITEM_InsertPageBreak ribbon item inside the TXITEM_PageGroup 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_TableGroup | 3 | Identifies the TXITEM_TableGroup ribbon group inside the RibbonInsertTab 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_InsertTable | 4 | Identifies the TXITEM_InsertTable ribbon item inside the TXITEM_TableGroup 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_IllustrationsGroup | 5 | Identifies the TXITEM_IllustrationsGroup ribbon group inside the RibbonInsertTab 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_InsertImage | 6 | Identifies the TXITEM_InsertImage ribbon item inside the TXITEM_IllustrationsGroup 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_InsertChart | 7 | Identifies the TXITEM_InsertChart ribbon item inside the TXITEM_IllustrationsGroup ribbon group. 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_InsertShape | 8 | Identifies the TXITEM_InsertShape ribbon item inside the TXITEM_IllustrationsGroup 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_InsertBarcode | 9 | Identifies the TXITEM_InsertBarcode ribbon item inside the TXITEM_IllustrationsGroup 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_LinksGroup | 10 | Identifies the TXITEM_LinksGroup ribbon group inside the RibbonInsertTab 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_InsertHyperlink | 11 | Identifies the TXITEM_InsertHyperlink ribbon item inside the TXITEM_LinksGroup 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_InsertBookmark | 12 | Identifies the TXITEM_InsertBookmark ribbon item inside the TXITEM_LinksGroup 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_HeaderFooterGroup | 13 | Identifies the TXITEM_HeaderFooterGroup ribbon group inside the RibbonInsertTab 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_InsertHeader | 14 | Identifies the TXITEM_InsertHeader ribbon item inside the TXITEM_HeaderFooterGroup 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_InsertFooter | 15 | Identifies the TXITEM_InsertFooter ribbon item inside the TXITEM_HeaderFooterGroup 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_InsertPageNumber | 16 | Identifies the TXITEM_InsertPageNumber ribbon item inside the TXITEM_HeaderFooterGroup 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_TextGroup | 17 | Identifies the TXITEM_TextGroup ribbon group inside the RibbonInsertTab 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_InsertTextFrame | 18 | Identifies the TXITEM_InsertTextFrame ribbon item inside the TXITEM_TextGroup 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_InsertFile | 19 | Identifies the TXITEM_InsertFile ribbon item inside the TXITEM_TextGroup 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_InsertSignature | 20 | Identifies the TXITEM_InsertSignature ribbon item inside the TXITEM_TextGroup 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_SymbolsGroup | 21 | Identifies the TXITEM_SymbolsGroup ribbon group inside the RibbonInsertTab 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_InsertSymbol | 22 | Identifies the TXITEM_InsertSymbol ribbon item inside the TXITEM_SymbolsGroup 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. |
Examples
The following example selects the TXITEM_Page Group value from the Ribbon Item enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Ribbon.RibbonInsertTab.RibbonItem value = TXTextControl.Windows.Forms.Ribbon.RibbonInsertTab.RibbonItem.TXITEM_PageGroup;
Console.WriteLine($"Using Ribbon Item: {value}");Dim value As TXTextControl.Windows.Forms.Ribbon.RibbonInsertTab.RibbonItem = TXTextControl.Windows.Forms.Ribbon.RibbonInsertTab.RibbonItem.TXITEM_PageGroup
Console.WriteLine($"Using Ribbon Item: {value}")