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 RibbonPageLayoutTab. 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 RibbonPageLayoutTab.RibbonDropDownItem

Members

MemberValueDescription
TXITEM_Orientation_Portrait0Identifies the TXITEM_Orientation_Portrait drop-down item inside the TXITEM_Orientation'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_Orientation_Landscape1Identifies the TXITEM_Orientation_Landscape drop-down item inside the TXITEM_Orientation'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_Columns_One2Identifies the TXITEM_Columns_One drop-down item inside the TXITEM_Columns'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_Columns_Two3Identifies the TXITEM_Columns_Two drop-down item inside the TXITEM_Columns'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_Columns_Three4Identifies the TXITEM_Columns_Three drop-down item inside the TXITEM_Columns'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_Columns_MoreColumns5Identifies the TXITEM_Columns_MoreColumns drop-down item inside the TXITEM_Columns'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_Breaks_PageBreaks6Identifies the TXITEM_Breaks_PageBreaks drop-down item inside the TXITEM_Breaks'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_Breaks_Page7Identifies the TXITEM_Breaks_Page drop-down item inside the TXITEM_Breaks'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_Breaks_Column8Identifies the TXITEM_Breaks_Column drop-down item inside the TXITEM_Breaks'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_Breaks_TextWrapping9Identifies the TXITEM_Breaks_TextWrapping drop-down item inside the TXITEM_Breaks'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_Breaks_SectionBreaks10Identifies the TXITEM_Breaks_SectionBreaks drop-down item inside the TXITEM_Breaks'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_Breaks_NextPage11Identifies the TXITEM_Breaks_NextPage drop-down item inside the TXITEM_Breaks'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_Breaks_Continuous12Identifies the TXITEM_Breaks_Continuous drop-down item inside the TXITEM_Breaks'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_PageColor_Automatic13Identifies the TXITEM_PageColor_Automatic drop-down item inside the TXITEM_PageColor'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_PageColor_MoreColors14Identifies the TXITEM_PageColor_MoreColors drop-down item inside the TXITEM_PageColor'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_PageBorders_Left15Identifies the TXITEM_PageBorders_Left drop-down item inside the TXITEM_PageBorders'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_PageBorders_Top16Identifies the TXITEM_PageBorders_Top drop-down item inside the TXITEM_PageBorders'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_PageBorders_Right17Identifies the TXITEM_PageBorders_Right drop-down item inside the TXITEM_PageBorders'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_PageBorders_Bottom18Identifies the TXITEM_PageBorders_Bottom drop-down item inside the TXITEM_PageBorders'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_PageBorders_All19Identifies the TXITEM_PageBorders_All drop-down item inside the TXITEM_PageBorders'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_PageLineColor_Automatic20Identifies the TXITEM_PageLineColor_Automatic drop-down item inside the TXITEM_PageLineColor'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_PageLineColor_MoreColors21Identifies the TXITEM_PageLineColor_MoreColors drop-down item inside the TXITEM_PageLineColor'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_PageLineWidth_NoLine22Identifies the TXITEM_PageLineWidth_NoLine drop-down item inside the TXITEM_PageLineWidth'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_Orientation_Portrait value from the Ribbon Drop Down Item enumeration and uses it as a documented workflow choice.

TXTextControl.Windows.Forms.Ribbon.RibbonPageLayoutTab.RibbonDropDownItem value = TXTextControl.Windows.Forms.Ribbon.RibbonPageLayoutTab.RibbonDropDownItem.TXITEM_Orientation_Portrait;
Console.WriteLine($"Using Ribbon Drop Down Item: {value}");