RibbonDropDownItem Enumeration
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
Description
Each RibbonDropDownItem represents a drop-down item in the RibbonReferencesTab. 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 RibbonReferencesTab.RibbonDropDownItemPublic Enum RibbonReferencesTab.RibbonDropDownItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_FootnotesNumberFormat_ArabicNumbers | 0 | Identifies the TXITEM_FootnotesNumberFormat_ArabicNumbers drop-down item inside the TXITEM_FootnotesNumberFormat'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_FootnotesNumberFormat_Letters | 1 | Identifies the TXITEM_FootnotesNumberFormat_Letters drop-down item inside the TXITEM_FootnotesNumberFormat'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_FootnotesNumberFormat_CapitalLetters | 2 | Identifies the TXITEM_FootnotesNumberFormat_CapitalLetters drop-down item inside the TXITEM_FootnotesNumberFormat'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_FootnotesNumberFormat_RomanNumbers | 3 | Identifies the TXITEM_FootnotesNumberFormat_RomanNumbers drop-down item inside the TXITEM_FootnotesNumberFormat'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_FootnotesNumberFormat_SmallRomanNumbers | 4 | Identifies the TXITEM_FootnotesNumberFormat_SmallRomanNumbers drop-down item inside the TXITEM_FootnotesNumberFormat'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_AddParagraphBodyText | 5 | Identifies the TXITEM_AddParagraphBodyText drop-down item inside the TXITEM_AddParagraph'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_AddParagraphLevel1 | 6 | Identifies the TXITEM_AddParagraphLevel1 drop-down item inside the TXITEM_AddParagraph'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_AddParagraphLevel2 | 7 | Identifies the TXITEM_AddParagraphLevel2 drop-down item inside the TXITEM_AddParagraph'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_AddParagraphLevel3 | 8 | Identifies the TXITEM_AddParagraphLevel3 drop-down item inside the TXITEM_AddParagraph'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_AddParagraphLevel4 | 9 | Identifies the TXITEM_AddParagraphLevel4 drop-down item inside the TXITEM_AddParagraph'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_AddParagraphLevel5 | 10 | Identifies the TXITEM_AddParagraphLevel5 drop-down item inside the TXITEM_AddParagraph'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_AddParagraphLevel6 | 11 | Identifies the TXITEM_AddParagraphLevel6 drop-down item inside the TXITEM_AddParagraph'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_AddParagraphLevel7 | 12 | Identifies the TXITEM_AddParagraphLevel7 drop-down item inside the TXITEM_AddParagraph'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_AddParagraphLevel8 | 13 | Identifies the TXITEM_AddParagraphLevel8 drop-down item inside the TXITEM_AddParagraph'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_AddParagraphLevel9 | 14 | Identifies the TXITEM_AddParagraphLevel9 drop-down item inside the TXITEM_AddParagraph'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_AddParagraphLevel10 | 15 | Identifies the TXITEM_AddParagraphLevel10 drop-down item inside the TXITEM_AddParagraph'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_Footnotes Number Format_Arabic Numbers value from the Ribbon Drop Down Item enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Ribbon.RibbonReferencesTab.RibbonDropDownItem value = TXTextControl.Windows.Forms.Ribbon.RibbonReferencesTab.RibbonDropDownItem.TXITEM_FootnotesNumberFormat_ArabicNumbers;
Console.WriteLine($"Using Ribbon Drop Down Item: {value}");Dim value As TXTextControl.Windows.Forms.Ribbon.RibbonReferencesTab.RibbonDropDownItem = TXTextControl.Windows.Forms.Ribbon.RibbonReferencesTab.RibbonDropDownItem.TXITEM_FootnotesNumberFormat_ArabicNumbers
Console.WriteLine($"Using Ribbon Drop Down Item: {value}")