RibbonDropDownItem Enumeration
- Namespace
TXTextControl.WPF
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.WPF. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.WPF. dll
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.RibbonDropDownItemPublic Enum RibbonFormattingTab.RibbonDropDownItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_PasteText | 0 | Identifies 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_PastePlainText | 1 | Identifies 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_PasteImage | 2 | Identifies 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_PasteTextFrame | 3 | Identifies 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_PasteChart | 4 | Identifies 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_PasteBarcode | 5 | Identifies 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_PasteDrawing | 6 | Identifies 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_Sentence | 7 | Identifies 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_Lower | 8 | Identifies 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_Upper | 9 | Identifies 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_Capitalize | 10 | Identifies 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_Toggle | 11 | Identifies 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_Transparent | 12 | Identifies 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_MoreColors | 13 | Identifies 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_Automatic | 14 | Identifies 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_MoreColors | 15 | Identifies 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_Characters | 16 | Identifies 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_Format | 17 | Identifies 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_Gallery_ArabicNumbers | 18 | Identifies the TXITEM_NumberedList_Gallery_ArabicNumbers gallery 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 LargeIcon resource. |
| TXITEM_NumberedList_Gallery_CapitalLetters | 19 | Identifies the TXITEM_NumberedList_Gallery_CapitalLetters gallery 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 LargeIcon resource. |
| TXITEM_NumberedList_Gallery_Letters | 20 | Identifies the TXITEM_NumberedList_Gallery_Letters gallery 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 LargeIcon resource. |
| TXITEM_NumberedList_Gallery_RomanNumbers | 21 | Identifies the TXITEM_NumberedList_Gallery_RomanNumbers gallery 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 LargeIcon resource. |
| TXITEM_NumberedList_Gallery_SmallRomanNumbers | 22 | Identifies the TXITEM_NumberedList_Gallery_SmallRomanNumbers gallery 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 LargeIcon resource. |
| TXITEM_NumberedList_Format | 23 | Identifies 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_Gallery_ArabicNumbers | 24 | Identifies the TXITEM_StructuredList_Gallery_ArabicNumbers gallery 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 LargeIcon resource. |
| TXITEM_StructuredList_Gallery_CapitalLetters | 25 | Identifies the TXITEM_StructuredList_Gallery_CapitalLetters gallery 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 LargeIcon resource. |
| TXITEM_StructuredList_Gallery_Letters | 26 | Identifies the TXITEM_StructuredList_Gallery_Letters gallery 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 LargeIcon resource. |
| TXITEM_StructuredList_Gallery_RomanNumbers | 27 | Identifies the TXITEM_StructuredList_Gallery_RomanNumbers gallery 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 LargeIcon resource. |
| TXITEM_StructuredList_Gallery_SmallRomanNumbers | 28 | Identifies the TXITEM_StructuredList_Gallery_SmallRomanNumbers gallery 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 LargeIcon resource. |
| TXITEM_StructuredList_Format | 29 | Identifies 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_LeftFrameLine | 30 | Identifies 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_TopFrameLine | 31 | Identifies 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_RightFrameLine | 32 | Identifies 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_BottomFrameLine | 33 | Identifies 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_BoxFrame | 34 | Identifies 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_AllFrameLines | 35 | Identifies 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_InnerHorizontalFrameLines | 36 | Identifies 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_InnerVerticalFrameLines | 37 | Identifies 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_Transparent | 38 | Identifies 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_MoreColors | 39 | Identifies 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_Automatic | 40 | Identifies 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_MoreColors | 41 | Identifies 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_Format | 42 | Identifies 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_Vertical | 43 | Identifies 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_Horizontal | 44 | Identifies 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_Vertical | 45 | Identifies 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_Horizontal | 46 | Identifies 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_Vertical | 47 | Identifies 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_Horizontal | 48 | Identifies 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}");Dim value As TXTextControl.WPF.RibbonFormattingTab.RibbonDropDownItem = TXTextControl.WPF.RibbonFormattingTab.RibbonDropDownItem.TXITEM_PasteText
Console.WriteLine($"Using Ribbon Drop Down Item: {value}")