RibbonDropDownItem 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 RibbonDropDownItem represents a drop-down item in the RibbonTableLayoutTab. The corresponding string of a RibbonDropDownItem is the same as the item's Name property. The RibbonDropDownItem enumeration can be used with the ResourceProvider class that provides static methods to receive bitmaps or strings which are associated with the corresponding ribbon drop-down item.
Syntax
public enum RibbonTableLayoutTab.RibbonDropDownItemPublic Enum RibbonTableLayoutTab.RibbonDropDownItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_SelectTableCell | 0 | Identifies the TXITEM_SelectTableCell drop-down item inside the TXITEM_SelectTable's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_SelectTableCol | 1 | Identifies the TXITEM_SelectTableCol drop-down item inside the TXITEM_SelectTable's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_SelectTableRow | 2 | Identifies the TXITEM_SelectTableRow drop-down item inside the TXITEM_SelectTable's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_SelectTableAll | 3 | Identifies the TXITEM_SelectTableAll drop-down item inside the TXITEM_SelectTable's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_DeleteTableCell | 4 | Identifies the TXITEM_DeleteTableCell drop-down item inside the TXITEM_DeleteTable's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_DeleteTableCol | 5 | Identifies the TXITEM_DeleteTableCol drop-down item inside the TXITEM_DeleteTable's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_DeleteTableRow | 6 | Identifies the TXITEM_DeleteTableRow drop-down item inside the TXITEM_DeleteTable's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_DeleteTableAll | 7 | Identifies the TXITEM_DeleteTableAll drop-down item inside the TXITEM_DeleteTable's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_SplitTableAbove | 8 | Identifies the TXITEM_SplitTableAbove drop-down item inside the TXITEM_SplitTable's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_SplitTableBelow | 9 | Identifies the TXITEM_SplitTableBelow drop-down item inside the TXITEM_SplitTable's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_TableLeftFrameLine | 10 | Identifies the TXITEM_TableLeftFrameLine drop-down item inside the TXITEM_TableFrameLines's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_TableTopFrameLine | 11 | Identifies the TXITEM_TableTopFrameLine drop-down item inside the TXITEM_TableFrameLines's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_TableRightFrameLine | 12 | Identifies the TXITEM_TableRightFrameLine drop-down item inside the TXITEM_TableFrameLines's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_TableBottomFrameLine | 13 | Identifies the TXITEM_TableBottomFrameLine drop-down item inside the TXITEM_TableFrameLines's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_TableBoxFrame | 14 | Identifies the TXITEM_TableBoxFrame drop-down item inside the TXITEM_TableFrameLines's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_TableAllFrameLines | 15 | Identifies the TXITEM_TableAllFrameLines drop-down item inside the TXITEM_TableFrameLines's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_TableInnerHorizontalFrameLines | 16 | Identifies the TXITEM_TableInnerHorizontalFrameLines drop-down item inside the TXITEM_TableFrameLines's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_TableInnerVerticalFrameLines | 17 | Identifies the TXITEM_TableInnerVerticalFrameLines drop-down item inside the TXITEM_TableFrameLines's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_TableLineColor_Automatic | 18 | Identifies the TXITEM_TableLineColor_Automatic drop-down item inside the TXITEM_TableLineColor's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_TableLineColor_MoreColors | 19 | Identifies the TXITEM_TableLineColor_MoreColors drop-down item inside the TXITEM_TableLineColor's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_TableBackColor_Transparent | 20 | Identifies the TXITEM_TableBackColor_Transparent drop-down item inside the TXITEM_TableBackColor's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
| TXITEM_TableBackColor_MoreColors | 21 | Identifies the TXITEM_TableBackColor_MoreColors drop-down item inside the TXITEM_TableBackColor's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon and Text resources. |
Examples
The following example selects the TXITEM_Select Table Cell value from the Ribbon Drop Down Item enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Ribbon.RibbonTableLayoutTab.RibbonDropDownItem value = TXTextControl.Windows.Forms.Ribbon.RibbonTableLayoutTab.RibbonDropDownItem.TXITEM_SelectTableCell;
Console.WriteLine($"Using Ribbon Drop Down Item: {value}");Dim value As TXTextControl.Windows.Forms.Ribbon.RibbonTableLayoutTab.RibbonDropDownItem = TXTextControl.Windows.Forms.Ribbon.RibbonTableLayoutTab.RibbonDropDownItem.TXITEM_SelectTableCell
Console.WriteLine($"Using Ribbon Drop Down Item: {value}")