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 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.RibbonItemPublic Enum RibbonChartLayoutTab.RibbonItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_DataGroup | 0 | Identifies 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_EditData | 1 | Identifies 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_SetDataRelation | 2 | Identifies 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_LabelsGroup | 3 | Identifies 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_Legend | 4 | Identifies 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_XAxisLabels | 5 | Identifies 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_YAxisLabels | 6 | Identifies 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_TitlesGroup | 7 | Identifies 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_ChartTitle | 8 | Identifies 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_XAxisTitle | 9 | Identifies 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_YAxisTitle | 10 | Identifies 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_FormatChartTitle | 11 | Identifies 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_FormatXAxisTitle | 12 | Identifies 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_FormatYAxisTitle | 13 | Identifies 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_XAxisGroup | 14 | Identifies 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_XAxisLine | 15 | Identifies 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_XAxisMajorGridlines | 16 | Identifies 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_XAxisMinorGridlines | 17 | Identifies 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_XAxisMinimumAutomatic | 18 | Identifies 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_XAxisMaximumAutomatic | 19 | Identifies 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_XAxisIntervalAutomatic | 20 | Identifies 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_XAxisMinimum | 21 | Identifies 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_XAxisMaximum | 22 | Identifies 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_XAxisInterval | 23 | Identifies 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_YAxisGroup | 24 | Identifies 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_YAxisLine | 25 | Identifies 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_YAxisMajorGridlines | 26 | Identifies 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_YAxisMinorGridlines | 27 | Identifies 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_YAxisMinimumAutomatic | 28 | Identifies 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_YAxisMaximumAutomatic | 29 | Identifies 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_YAxisIntervalAutomatic | 30 | Identifies 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_YAxisMinimum | 31 | Identifies 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_YAxisMaximum | 32 | Identifies 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_YAxisInterval | 33 | Identifies 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}");Dim value As TXTextControl.Windows.Forms.Ribbon.RibbonChartLayoutTab.RibbonItem = TXTextControl.Windows.Forms.Ribbon.RibbonChartLayoutTab.RibbonItem.TXITEM_DataGroup
Console.WriteLine($"Using Ribbon Item: {value}")