TX Text Control .NET for Windows Forms

RibbonItem Enumeration

Enumeration|Introduced in 24.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 RibbonTableLayoutTab 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 RibbonTableLayoutTab.RibbonItem

Members

MemberValueDescription
TXITEM_TableLayoutGroup0Identifies the TXITEM_TableLayoutGroup ribbon group inside the RibbonTableLayoutTab 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_SelectTable1Identifies the TXITEM_SelectTable ribbon item inside the TXITEM_TableLayoutGroup 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_TableGridLines2Identifies the TXITEM_TableGridLines ribbon item inside the TXITEM_TableLayoutGroup 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_TableProperties3Identifies the TXITEM_TableProperties ribbon item inside the TXITEM_TableLayoutGroup 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_RowsAndColumnsGroup4Identifies the TXITEM_RowsAndColumnsGroup ribbon group inside the RibbonTableLayoutTab 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_DeleteTable5Identifies the TXITEM_DeleteTable ribbon item inside the TXITEM_RowsAndColumnsGroup 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_InsertTableRowAbove6Identifies the TXITEM_InsertTableRowAbove ribbon item inside the TXITEM_RowsAndColumnsGroup 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_InsertTableRowBelow7Identifies the TXITEM_InsertTableRowBelow ribbon item inside the TXITEM_RowsAndColumnsGroup 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_InsertTableColLeft8Identifies the TXITEM_InsertTableColLeft ribbon item inside the TXITEM_RowsAndColumnsGroup 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_InsertTableColRight9Identifies the TXITEM_InsertTableColRight ribbon item inside the TXITEM_RowsAndColumnsGroup 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_MergeGroup10Identifies the TXITEM_MergeGroup ribbon group inside the RibbonTableLayoutTab 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_MergeTableCells11Identifies the TXITEM_MergeTableCells ribbon item inside the TXITEM_MergeGroup 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_SplitTableCells12Identifies the TXITEM_SplitTableCells ribbon item inside the TXITEM_MergeGroup 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_SplitTable13Identifies the TXITEM_SplitTable ribbon item inside the TXITEM_MergeGroup 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_BordersAndBackgroundGroup14Identifies the TXITEM_BordersAndBackgroundGroup ribbon group inside the RibbonTableLayoutTab 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_BordersAndBackgroundGroup_DialogBoxLauncher15Identifies the dialog box launcher of the TXITEM_BordersAndBackgroundGroup 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_TableFrameLines16Identifies the TXITEM_TableFrameLines ribbon item inside the TXITEM_BordersAndBackgroundGroup 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_TableLineColor17Identifies the TXITEM_TableLineColor ribbon item inside the TXITEM_BordersAndBackgroundGroup 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_TableBackColor18Identifies the TXITEM_TableBackColor ribbon item inside the TXITEM_BordersAndBackgroundGroup 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_TableLineWidth19Identifies the TXITEM_TableLineWidth ribbon item inside the TXITEM_BordersAndBackgroundGroup 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_TableAlignmentGroup20Identifies the TXITEM_TableAlignmentGroup ribbon group inside the RibbonTableLayoutTab 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_TableAlignmentGroup_DialogBoxLauncher21Identifies the dialog box launcher of the TXITEM_TableAlignmentGroup 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_CellAlignTopLeft22Identifies the TXITEM_CellAlignTopLeft ribbon item inside the TXITEM_TableAlignmentGroup 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_CellAlignMiddleLeft23Identifies the TXITEM_CellAlignMiddleLeft ribbon item inside the TXITEM_TableAlignmentGroup 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_CellAlignBottomLeft24Identifies the TXITEM_CellAlignBottomLeft ribbon item inside the TXITEM_TableAlignmentGroup 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_CellAlignTopCentered25Identifies the TXITEM_CellAlignTopCentered ribbon item inside the TXITEM_TableAlignmentGroup 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_CellAlignMiddleCentered26Identifies the TXITEM_CellAlignMiddleCentered ribbon item inside the TXITEM_TableAlignmentGroup 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_CellAlignBottomCentered27Identifies the TXITEM_CellAlignBottomCentered ribbon item inside the TXITEM_TableAlignmentGroup 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_CellAlignTopRight28Identifies the TXITEM_CellAlignTopRight ribbon item inside the TXITEM_TableAlignmentGroup 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_CellAlignMiddleRight29Identifies the TXITEM_CellAlignMiddleRight ribbon item inside the TXITEM_TableAlignmentGroup 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_CellAlignBottomRight30Identifies the TXITEM_CellAlignBottomRight ribbon item inside the TXITEM_TableAlignmentGroup 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_CellAlignTopJustified31Identifies the TXITEM_CellAlignTopJustified ribbon item inside the TXITEM_TableAlignmentGroup 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_CellAlignMiddleJustified32Identifies the TXITEM_CellAlignMiddleJustified ribbon item inside the TXITEM_TableAlignmentGroup 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_CellAlignBottomJustified33Identifies the TXITEM_CellAlignBottomJustified ribbon item inside the TXITEM_TableAlignmentGroup 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_TablePropertiesGroup34Identifies the TXITEM_TablePropertiesGroup ribbon group inside the RibbonTableLayoutTab 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_TableID35Identifies the TXITEM_TableID ribbon item inside the TXITEM_TablePropertiesGroup 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_TableDescriptiveText36Identifies the TXITEM_TableDescriptiveText ribbon item inside the TXITEM_TablePropertiesGroup 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_Table Layout Group value from the Ribbon Item enumeration and uses it as a documented workflow choice.

TXTextControl.Windows.Forms.Ribbon.RibbonTableLayoutTab.RibbonItem value = TXTextControl.Windows.Forms.Ribbon.RibbonTableLayoutTab.RibbonItem.TXITEM_TableLayoutGroup;
Console.WriteLine($"Using Ribbon Item: {value}");