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 RibbonPermissionsTab. 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 RibbonPermissionsTab.RibbonDropDownItemPublic Enum RibbonPermissionsTab.RibbonDropDownItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_Users_Dialog | 0 | Identifies the TXITEM_Users_Dialog drop-down item inside the TXITEM_Users'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_Users_Dialog value from the Ribbon Drop Down Item enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Ribbon.RibbonPermissionsTab.RibbonDropDownItem value = TXTextControl.Windows.Forms.Ribbon.RibbonPermissionsTab.RibbonDropDownItem.TXITEM_Users_Dialog;
Console.WriteLine($"Using Ribbon Drop Down Item: {value}");Dim value As TXTextControl.Windows.Forms.Ribbon.RibbonPermissionsTab.RibbonDropDownItem = TXTextControl.Windows.Forms.Ribbon.RibbonPermissionsTab.RibbonDropDownItem.TXITEM_Users_Dialog
Console.WriteLine($"Using Ribbon Drop Down Item: {value}")