TX Text Control .NET for WPF

RibbonDropDownItem Enumeration

Enumeration|Introduced in 27.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.WPF.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_Format23Identifies 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_Format29Identifies 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_LeftFrameLine30Identifies 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_TopFrameLine31Identifies 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_RightFrameLine32Identifies 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_BottomFrameLine33Identifies 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_BoxFrame34Identifies 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_AllFrameLines35Identifies 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_InnerHorizontalFrameLines36Identifies 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_InnerVerticalFrameLines37Identifies 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_Transparent38Identifies 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_MoreColors39Identifies 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_Automatic40Identifies 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_MoreColors41Identifies 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_StyleNames_Format42Identifies the TXITEM_StyleNames_Format drop-down item inside the TXITEM_StyleName'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_Vertical43Identifies the TXITEM_Find_Sidebars_Vertical drop-down item inside the TXITEM_Find'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_Horizontal44Identifies the TXITEM_Find_Sidebars_Horizontal drop-down item inside the TXITEM_Find'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_Vertical45Identifies the TXITEM_Replace_Sidebars_Vertical drop-down item inside the TXITEM_Replace'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_Horizontal46Identifies the TXITEM_Replace_Sidebars_Horizontal drop-down item inside the TXITEM_Replace'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_Vertical47Identifies the TXITEM_Goto_Sidebars_Vertical drop-down item inside the TXITEM_Goto'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_Horizontal48Identifies the TXITEM_Goto_Sidebars_Horizontal drop-down item inside the TXITEM_Goto'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.WPF.RibbonFormattingTab.RibbonDropDownItem value = TXTextControl.WPF.RibbonFormattingTab.RibbonDropDownItem.TXITEM_PasteText;
Console.WriteLine($"Using Ribbon Drop Down Item: {value}");