TX Text Control .NET for Windows Forms

RibbonDropDownItem Enumeration

Enumeration|Introduced in 27.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 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.RibbonDropDownItem

Members

MemberValueDescription
TXITEM_Users_Dialog0Identifies 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}");