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

Members

MemberValueDescription
TXITEM_PasteText0Identifies the TXITEM_PasteText drop-down item inside the TXITEM_Paste'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_PastePlainText1Identifies the TXITEM_PastePlainText drop-down item inside the TXITEM_Paste'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_PasteImage2Identifies the TXITEM_PasteImage drop-down item inside the TXITEM_Paste'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_PasteTextFrame3Identifies the TXITEM_PasteTextFrame drop-down item inside the TXITEM_Paste'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_PasteChart4Identifies the TXITEM_PasteChart drop-down item inside the TXITEM_Paste'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_PasteBarcode5Identifies the TXITEM_PasteBarcode drop-down item inside the TXITEM_Paste'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_PasteDrawing6Identifies the TXITEM_PasteDrawing drop-down item inside the TXITEM_Paste'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_ChangeCase_Sentence7Identifies the TXITEM_ChangeCase_Sentence drop-down item inside the TXITEM_ChangeCase'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_ChangeCase_Lower8Identifies the TXITEM_ChangeCase_Lower drop-down item inside the TXITEM_ChangeCase'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_ChangeCase_Upper9Identifies the TXITEM_ChangeCase_Upper drop-down item inside the TXITEM_ChangeCase'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_ChangeCase_Capitalize10Identifies the TXITEM_ChangeCase_Capitalize drop-down item inside the TXITEM_ChangeCase'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_ChangeCase_Toggle11Identifies the TXITEM_ChangeCase_Toggle drop-down item inside the TXITEM_ChangeCase'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_TextBackColor_Transparent12Identifies the TXITEM_TextBackColor_Transparent drop-down item inside the TXITEM_TextBackColor'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_TextBackColor_MoreColors13Identifies the TXITEM_TextBackColor_MoreColors drop-down item inside the TXITEM_TextBackColor'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_TextColor_Automatic14Identifies the TXITEM_TextColor_Automatic drop-down item inside the TXITEM_TextColor'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_TextColor_MoreColors15Identifies the TXITEM_TextColor_MoreColors drop-down item inside the TXITEM_TextColor'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_BulletedList_Characters16Identifies the TXITEM_BulletedList_Characters drop-down item inside the TXITEM_BulletedList'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_BulletedList_Format17Identifies the TXITEM_BulletedList_Format drop-down item inside the TXITEM_BulletedList'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_NumberedList_Numbers18Identifies the TXITEM_NumberedList_Numbers drop-down item inside the TXITEM_NumberedList'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_NumberedList_Format24Identifies the TXITEM_NumberedList_Format drop-down item inside the TXITEM_NumberedList'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_StructuredList_Numbers25Identifies the TXITEM_StructuredList_Numbers drop-down item inside the TXITEM_StructuredList'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_StructuredList_Format31Identifies the TXITEM_StructuredList_Format drop-down item inside the TXITEM_StructuredList'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_LeftFrameLine32Identifies the TXITEM_LeftFrameLine drop-down item inside the TXITEM_Borders'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_TopFrameLine33Identifies the TXITEM_TopFrameLine drop-down item inside the TXITEM_Borders'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_RightFrameLine34Identifies the TXITEM_RightFrameLine drop-down item inside the TXITEM_Borders'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_BottomFrameLine35Identifies the TXITEM_BottomFrameLine drop-down item inside the TXITEM_Borders'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_BoxFrame36Identifies the TXITEM_BoxFrame drop-down item inside the TXITEM_Borders'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_AllFrameLines37Identifies the TXITEM_AllFrameLines drop-down item inside the TXITEM_Borders'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_InnerHorizontalFrameLines38Identifies the TXITEM_InnerHorizontalFrameLines drop-down item inside the TXITEM_Borders'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_InnerVerticalFrameLines39Identifies the TXITEM_InnerVerticalFrameLines drop-down item inside the TXITEM_Borders'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_BackColor_Transparent40Identifies the TXITEM_BackColor_Transparent drop-down item inside the TXITEM_BackColor'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_BackColor_MoreColors41Identifies the TXITEM_BackColor_MoreColors drop-down item inside the TXITEM_BackColor'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_FrameLineColor_Automatic42Identifies the TXITEM_FrameLineColor_Automatic drop-down item inside the TXITEM_FrameLineColor'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_FrameLineColor_MoreColors43Identifies the TXITEM_FrameLineColor_MoreColors drop-down item inside the TXITEM_FrameLineColor'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_Find_Sidebars_Vertical44Identifies the TXITEM_Find_Sidebars_Vertical drop-down item inside the TXITEM_Find_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_Find_Sidebars_Horizontal45Identifies the TXITEM_Find_Sidebars_Horizontal drop-down item inside the TXITEM_Find_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_Replace_Sidebars_Vertical46Identifies the TXITEM_Replace_Sidebars_Vertical drop-down item inside the TXITEM_Replace_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_Replace_Sidebars_Horizontal47Identifies the TXITEM_Replace_Sidebars_Horizontal drop-down item inside the TXITEM_Replace_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_Goto_Sidebars_Vertical48Identifies the TXITEM_Goto_Sidebars_Vertical drop-down item inside the TXITEM_Goto_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_Goto_Sidebars_Horizontal49Identifies the TXITEM_Goto_Sidebars_Horizontal drop-down item inside the TXITEM_Goto_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.

Examples

The following example selects the TXITEM_Paste Text value from the Ribbon Drop Down Item enumeration and uses it as a documented workflow choice.

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