TX Text Control .NET for WPF

RibbonItem Enumeration

Enumeration|Introduced in 26.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.WPF.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 RibbonFormulaTab's FrameworkElement.FindName 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_Formula1Identifies 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_FormulaTextBox2Identifies 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_AcceptFormula3Identifies 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_CancelFormulaEditing4Identifies 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_FormulaEditing5Identifies the TXITEM_FormulaEditing 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 and ToolTipDescription 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_TableCellNumberFormat11Identifies 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_TableCellNumberFormatComboBox12Identifies 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_TableCellAcceptNumberFormat13Identifies 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_TableCellTextType14Identifies 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_TableCellTextTypeText15Identifies 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_TableCellTextTypeNumber16Identifies 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_FormulaSettingsGroup17Identifies 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_EnableFormulaCalculation18Identifies 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_EnableR1C1Style19Identifies 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_EnableA1Style20Identifies 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_ShowFormulaReferences21Identifies 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_ShowAllReferences22Identifies 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.WPF.RibbonFormulaTab.RibbonItem value = TXTextControl.WPF.RibbonFormulaTab.RibbonItem.TXITEM_FormulaGroup;
Console.WriteLine($"Using Ribbon Item: {value}");