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 RibbonFormulaTab 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 RibbonFormulaTab.RibbonItemPublic Enum RibbonFormulaTab.RibbonItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_FormulaGroup | 0 | Identifies the TXITEM_FormulaGroup ribbon group inside the RibbonFormulaTab 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_FormulaGroup_DialogBoxLauncher | 1 | Identifies the dialog box launcher of the TXITEM_FormulaGroup 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_Formula | 2 | Identifies the TXITEM_Formula ribbon item inside the TXITEM_FormulaGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding Text, ToolTipTitle and ToolTipDescription resources. |
| TXITEM_FormulaTextBox | 3 | Identifies the TXITEM_FormulaTextBox ribbon item inside the TXITEM_FormulaGroup 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_AcceptFormula | 4 | Identifies the TXITEM_AcceptFormula ribbon item inside the TXITEM_FormulaGroup 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_CancelFormulaEditing | 5 | Identifies the TXITEM_CancelFormulaEditing ribbon item inside the TXITEM_FormulaGroup 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_Functions | 6 | Identifies the TXITEM_Functions ribbon item inside the TXITEM_FormulaGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding Text, ToolTipTitle and ToolTipDescription resources. |
| TXITEM_SupportedFunctions | 7 | Identifies the TXITEM_SupportedFunctions ribbon item inside the TXITEM_FormulaGroup 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_AddFunction | 8 | Identifies the TXITEM_AddFunction ribbon item inside the TXITEM_FormulaGroup 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_SelectCellReferences | 9 | Identifies the TXITEM_SelectCellReferences ribbon item inside the TXITEM_FormulaGroup 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_NumberFormatGroup | 10 | Identifies the TXITEM_NumberFormatGroup ribbon group inside the RibbonFormulaTab 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_NumberFormatGroup_DialogBoxLauncher | 11 | Identifies the dialog box launcher of the TXITEM_NumberFormatGroup 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_TableCellNumberFormat | 12 | Identifies the TXITEM_TableCellNumberFormat ribbon item inside the TXITEM_NumberFormatGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding Text, ToolTipTitle and ToolTipDescription resources. |
| TXITEM_TableCellNumberFormatComboBox | 13 | Identifies the TXITEM_TableCellNumberFormatComboBox ribbon item inside the TXITEM_NumberFormatGroup 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_TableCellAcceptNumberFormat | 14 | Identifies the TXITEM_TableCellAcceptNumberFormat ribbon item inside the TXITEM_NumberFormatGroup 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_TableCellTextType | 15 | Identifies the TXITEM_TableCellTextType ribbon item inside the TXITEM_NumberFormatGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding Text, ToolTipTitle and ToolTipDescription resources. |
| TXITEM_TableCellTextTypeText | 16 | Identifies the TXITEM_TableCellTextTypeText ribbon item inside the TXITEM_NumberFormatGroup 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_TableCellTextTypeNumber | 17 | Identifies the TXITEM_TableCellTextTypeNumber ribbon item inside the TXITEM_NumberFormatGroup 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_FormulaSettingsGroup | 18 | Identifies the TXITEM_FormulaSettingsGroup ribbon group inside the RibbonFormulaTab 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_EnableFormulaCalculation | 19 | Identifies the TXITEM_EnableFormulaCalculation ribbon item inside the TXITEM_FormulaSettingsGroup 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_EnableR1C1Style | 20 | Identifies the TXITEM_EnableR1C1Style ribbon item inside the TXITEM_FormulaSettingsGroup 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_EnableA1Style | 21 | Identifies the TXITEM_EnableA1Style ribbon item inside the TXITEM_FormulaSettingsGroup 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_ShowFormulaReferences | 22 | Identifies the TXITEM_ShowFormulaReferences ribbon item inside the TXITEM_FormulaSettingsGroup 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_ShowAllReferences | 23 | Identifies the TXITEM_ShowAllReferences ribbon item inside the TXITEM_FormulaSettingsGroup 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_Formula Group value from the Ribbon Item enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Ribbon.RibbonFormulaTab.RibbonItem value = TXTextControl.Windows.Forms.Ribbon.RibbonFormulaTab.RibbonItem.TXITEM_FormulaGroup;
Console.WriteLine($"Using Ribbon Item: {value}");Dim value As TXTextControl.Windows.Forms.Ribbon.RibbonFormulaTab.RibbonItem = TXTextControl.Windows.Forms.Ribbon.RibbonFormulaTab.RibbonItem.TXITEM_FormulaGroup
Console.WriteLine($"Using Ribbon Item: {value}")