TX Text Control .NET for WPF

RibbonDropDownItem Enumeration

Enumeration|Introduced in 29.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 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.RibbonDropDownItem

Members

MemberValueDescription
TXITEM_FootnotesNumberFormat_ArabicNumbers0Identifies 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_Letters1Identifies 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_CapitalLetters2Identifies 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_RomanNumbers3Identifies 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_SmallRomanNumbers4Identifies 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_AddParagraphBodyText5Identifies 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_AddParagraphLevel16Identifies 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_AddParagraphLevel27Identifies 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_AddParagraphLevel38Identifies 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_AddParagraphLevel49Identifies 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_AddParagraphLevel510Identifies 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_AddParagraphLevel611Identifies 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_AddParagraphLevel712Identifies 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_AddParagraphLevel813Identifies 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_AddParagraphLevel914Identifies 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_AddParagraphLevel1015Identifies 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.WPF.RibbonReferencesTab.RibbonDropDownItem value = TXTextControl.WPF.RibbonReferencesTab.RibbonDropDownItem.TXITEM_FootnotesNumberFormat_ArabicNumbers;
Console.WriteLine($"Using Ribbon Drop Down Item: {value}");