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 RibbonFormFieldsTab. 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 RibbonFormFieldsTab.RibbonDropDownItemPublic Enum RibbonFormFieldsTab.RibbonDropDownItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_ManageConditionalInstructions_Sidebars_Vertical | 0 | Identifies the TXITEM_ManageConditionalInstructions_Sidebars_Vertical drop-down item inside the TXITEM_ManageConditionalInstructions_Sidebars'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_ManageConditionalInstructions_Sidebars_Horizontal | 1 | Identifies the TXITEM_ManageConditionalInstructions_Sidebars_Horizontal drop-down item inside the TXITEM_ManageConditionalInstructions_Sidebars'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_CheckedSymbolList_Characters | 2 | Identifies the TXITEM_CheckedSymbolList_Characters drop-down item inside the TXITEM_CheckedSymbol's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding Text resource. |
| TXITEM_UncheckedSymbolList_Characters | 3 | Identifies the TXITEM_UncheckedSymbolList_Characters drop-down item inside the TXITEM_UncheckedSymbol's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding Text resource. |
Examples
The following example selects the TXITEM_Manage Conditional Instructions_Sidebars_Vertical value from the Ribbon Drop Down Item enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Ribbon.RibbonFormFieldsTab.RibbonDropDownItem value = TXTextControl.Windows.Forms.Ribbon.RibbonFormFieldsTab.RibbonDropDownItem.TXITEM_ManageConditionalInstructions_Sidebars_Vertical;
Console.WriteLine($"Using Ribbon Drop Down Item: {value}");Dim value As TXTextControl.Windows.Forms.Ribbon.RibbonFormFieldsTab.RibbonDropDownItem = TXTextControl.Windows.Forms.Ribbon.RibbonFormFieldsTab.RibbonDropDownItem.TXITEM_ManageConditionalInstructions_Sidebars_Vertical
Console.WriteLine($"Using Ribbon Drop Down Item: {value}")