TX Text Control .NET for Windows Forms

RibbonItem Enumeration

Enumeration|Introduced in 25.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 RibbonChartLayoutTab 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 RibbonChartLayoutTab.RibbonItem

Members

MemberValueDescription
TXITEM_DataGroup0Identifies the TXITEM_DataGroup ribbon group inside the RibbonChartLayoutTab 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_EditData1Identifies the TXITEM_EditData ribbon item inside the TXITEM_DataGroup 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_SetDataRelation2Identifies the TXITEM_SetDataRelation ribbon item inside the TXITEM_DataGroup 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_LabelsGroup3Identifies the TXITEM_LabelsGroup ribbon group inside the RibbonChartLayoutTab 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_Legend4Identifies the TXITEM_Legend ribbon item inside the TXITEM_LabelsGroup 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_XAxisLabels5Identifies the TXITEM_XAxisLabels ribbon item inside the TXITEM_LabelsGroup 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_YAxisLabels6Identifies the TXITEM_YAxisLabels ribbon item inside the TXITEM_LabelsGroup 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_TitlesGroup7Identifies the TXITEM_TitlesGroup ribbon group inside the RibbonChartLayoutTab 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_ChartTitle8Identifies the TXITEM_ChartTitle ribbon item inside the TXITEM_TitlesGroup 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_XAxisTitle9Identifies the TXITEM_XAxisTitle ribbon item inside the TXITEM_TitlesGroup 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_YAxisTitle10Identifies the TXITEM_YAxisTitle ribbon item inside the TXITEM_TitlesGroup 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_FormatChartTitle11Identifies the TXITEM_FormatChartTitle ribbon item inside the TXITEM_TitlesGroup 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_FormatXAxisTitle12Identifies the TXITEM_FormatXAxisTitle ribbon item inside the TXITEM_TitlesGroup 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_FormatYAxisTitle13Identifies the TXITEM_FormatYAxisTitle ribbon item inside the TXITEM_TitlesGroup 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_XAxisGroup14Identifies the TXITEM_XAxisGroup ribbon group inside the RibbonChartLayoutTab 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_XAxisLine15Identifies the TXITEM_XAxisLine ribbon item inside the TXITEM_XAxisGroup 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_XAxisMajorGridlines16Identifies the TXITEM_XAxisMajorGridlines ribbon item inside the TXITEM_XAxisGroup 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_XAxisMinorGridlines17Identifies the TXITEM_XAxisMinorGridlines ribbon item inside the TXITEM_XAxisGroup 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_XAxisMinimumAutomatic18Identifies the TXITEM_XAxisMinimumAutomatic ribbon item inside the TXITEM_XAxisGroup 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_XAxisMaximumAutomatic19Identifies the TXITEM_XAxisMaximumAutomatic ribbon item inside the TXITEM_XAxisGroup 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_XAxisIntervalAutomatic20Identifies the TXITEM_XAxisIntervalAutomatic ribbon item inside the TXITEM_XAxisGroup 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_XAxisMinimum21Identifies the TXITEM_XAxisMinimum ribbon item inside the TXITEM_XAxisGroup 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_XAxisMaximum22Identifies the TXITEM_XAxisMaximum ribbon item inside the TXITEM_XAxisGroup 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_XAxisInterval23Identifies the TXITEM_XAxisInterval ribbon item inside the TXITEM_XAxisGroup 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_YAxisGroup24Identifies the TXITEM_YAxisGroup ribbon group inside the RibbonChartLayoutTab 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_YAxisLine25Identifies the TXITEM_YAxisLine ribbon item inside the TXITEM_YAxisGroup 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_YAxisMajorGridlines26Identifies the TXITEM_YAxisMajorGridlines ribbon item inside the TXITEM_YAxisGroup 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_YAxisMinorGridlines27Identifies the TXITEM_YAxisMinorGridlines ribbon item inside the TXITEM_YAxisGroup 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_YAxisMinimumAutomatic28Identifies the TXITEM_YAxisMinimumAutomatic ribbon item inside the TXITEM_YAxisGroup 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_YAxisMaximumAutomatic29Identifies the TXITEM_YAxisMaximumAutomatic ribbon item inside the TXITEM_YAxisGroup 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_YAxisIntervalAutomatic30Identifies the TXITEM_YAxisIntervalAutomatic ribbon item inside the TXITEM_YAxisGroup 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_YAxisMinimum31Identifies the TXITEM_YAxisMinimum ribbon item inside the TXITEM_YAxisGroup 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_YAxisMaximum32Identifies the TXITEM_YAxisMaximum ribbon item inside the TXITEM_YAxisGroup 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_YAxisInterval33Identifies the TXITEM_YAxisInterval ribbon item inside the TXITEM_YAxisGroup 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_Data Group value from the Ribbon Item enumeration and uses it as a documented workflow choice.

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