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 RibbonReportingTab 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 RibbonReportingTab.RibbonItemPublic Enum RibbonReportingTab.RibbonItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_DataSourceGroup | 0 | Identifies the TXITEM_DataSourceGroup ribbon group inside the RibbonReportingTab 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_DataSource | 1 | Identifies the TXITEM_DataSource ribbon item inside the TXITEM_DataSourceGroup 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_SelectMasterTable | 2 | Identifies the TXITEM_SelectMasterTable ribbon item inside the TXITEM_DataSourceGroup 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_EditDataRelations | 3 | Identifies the TXITEM_EditDataRelations ribbon item inside the TXITEM_DataSourceGroup 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_ConfigFile | 4 | Identifies the TXITEM_ConfigFile ribbon item inside the TXITEM_DataSourceGroup 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_MergeFieldsGroup | 5 | Identifies the TXITEM_MergeFieldsGroup ribbon group inside the RibbonReportingTab 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_InsertMergeField | 6 | Identifies the TXITEM_InsertMergeField ribbon item inside the TXITEM_MergeFieldsGroup 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_InsertSpecialField | 7 | Identifies the TXITEM_InsertSpecialField ribbon item inside the TXITEM_MergeFieldsGroup 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_FieldProperties | 8 | Identifies the TXITEM_FieldProperties ribbon item inside the TXITEM_MergeFieldsGroup 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_DeleteField | 9 | Identifies the TXITEM_DeleteField ribbon item inside the TXITEM_MergeFieldsGroup 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_MergeBlocksGroup | 10 | Identifies the TXITEM_MergeBlocksGroup ribbon group inside the RibbonReportingTab 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_InsertMergeBlock | 11 | Identifies the TXITEM_InsertMergeBlock ribbon item inside the TXITEM_MergeBlocksGroup 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_EditMergeBlocks | 12 | Identifies the TXITEM_EditMergeBlocks ribbon item inside the TXITEM_MergeBlocksGroup 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_ViewGroup | 13 | Identifies the TXITEM_ViewGroup ribbon group inside the RibbonReportingTab 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_FieldNavigation | 14 | Identifies the TXITEM_FieldNavigation ribbon item inside the TXITEM_ViewGroup 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_Data Source Group value from the Ribbon Item enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Ribbon.RibbonReportingTab.RibbonItem value = TXTextControl.Windows.Forms.Ribbon.RibbonReportingTab.RibbonItem.TXITEM_DataSourceGroup;
Console.WriteLine($"Using Ribbon Item: {value}");Dim value As TXTextControl.Windows.Forms.Ribbon.RibbonReportingTab.RibbonItem = TXTextControl.Windows.Forms.Ribbon.RibbonReportingTab.RibbonItem.TXITEM_DataSourceGroup
Console.WriteLine($"Using Ribbon Item: {value}")