TX Text Control .NET for Windows Forms

RibbonItem Enumeration

Enumeration|Introduced in 26.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Windows.Forms.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.Windows.Forms.dll from the setup.

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.RibbonItem

Members

MemberValueDescription
TXITEM_FormulaGroup0Identifies 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_DialogBoxLauncher1Identifies 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_Formula2Identifies 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_FormulaTextBox3Identifies 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_AcceptFormula4Identifies 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_CancelFormulaEditing5Identifies 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_Functions6Identifies 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_SupportedFunctions7Identifies 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_AddFunction8Identifies 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_SelectCellReferences9Identifies 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_NumberFormatGroup10Identifies 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_DialogBoxLauncher11Identifies 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_TableCellNumberFormat12Identifies 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_TableCellNumberFormatComboBox13Identifies 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_TableCellAcceptNumberFormat14Identifies 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_TableCellTextType15Identifies 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_TableCellTextTypeText16Identifies 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_TableCellTextTypeNumber17Identifies 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_FormulaSettingsGroup18Identifies 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_EnableFormulaCalculation19Identifies 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_EnableR1C1Style20Identifies 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_EnableA1Style21Identifies 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_ShowFormulaReferences22Identifies 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_ShowAllReferences23Identifies 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}");