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

Members

MemberValueDescription
TXITEM_InsertTableGallery0Identifies the TXITEM_InsertTableGallery drop-down item inside the TXITEM_InsertTable'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_InsertTableDialog1Identifies the TXITEM_InsertTableDialog drop-down item inside the TXITEM_InsertTable'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_InsertImageDialog2Identifies the TXITEM_InsertImageDialog drop-down item inside the TXITEM_InsertImage'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_InsertImagePlaceHolder3Identifies the TXITEM_InsertImagePlaceHolder drop-down item inside the TXITEM_InsertImage'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_LinesCategory4Identifies the TXITEM_LinesCategory drop-down item inside the TXITEM_InsertShape'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_RectanglesCategory5Identifies the TXITEM_RectanglesCategory drop-down item inside the TXITEM_InsertShape'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_BasicShapesCategory6Identifies the TXITEM_BasicShapesCategory drop-down item inside the TXITEM_InsertShape'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_BlockArrowsCategory7Identifies the TXITEM_BlockArrowsCategory drop-down item inside the TXITEM_InsertShape'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_EquationShapesCategory8Identifies the TXITEM_EquationShapesCategory drop-down item inside the TXITEM_InsertShape'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_FlowChartCategory9Identifies the TXITEM_FlowChartCategory drop-down item inside the TXITEM_InsertShape'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_StarsAndBannersCategory10Identifies the TXITEM_StarsAndBannersCategory drop-down item inside the TXITEM_InsertShape'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_CalloutsCategory11Identifies the TXITEM_CalloutsCategory drop-down item inside the TXITEM_InsertShape'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_InsertDrawingCanvas12Identifies the TXITEM_InsertDrawingCanvas drop-down item inside the TXITEM_InsertShape'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_DrawingMarkerLines13Identifies the TXITEM_DrawingMarkerLines drop-down item inside the TXITEM_InsertShape'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_InsertHyperlinkDialog14Identifies the TXITEM_InsertHyperlinkDialog drop-down item inside the TXITEM_InsertHyperlink'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_InsertBookmarkDialog16Identifies the TXITEM_InsertBookmarkDialog drop-down item inside the TXITEM_InsertBookmark'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_DeleteBookmark17Identifies the TXITEM_DeleteBookmark drop-down item inside the TXITEM_InsertBookmark'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_EditBookmark18Identifies the TXITEM_EditBookmark drop-down item inside the TXITEM_InsertBookmark'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_DocumentTargetMarkers19Identifies the TXITEM_DocumentTargetMarkers drop-down item inside the TXITEM_InsertBookmark'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_EditHeader20Identifies the TXITEM_EditHeader drop-down item inside the TXITEM_InsertHeader'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_RemoveHeader21Identifies the TXITEM_RemoveHeader drop-down item inside the TXITEM_InsertHeader'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_EditFooter22Identifies the TXITEM_EditFooter drop-down item inside the TXITEM_InsertFooter'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_RemoveFooter23Identifies the TXITEM_RemoveFooter drop-down item inside the TXITEM_InsertFooter'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_InsertStandardPageNumber24Identifies the TXITEM_InsertStandardPageNumber drop-down item inside the TXITEM_InsertPageNumber'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_FormatPageNumber25Identifies the TXITEM_FormatPageNumber drop-down item inside the TXITEM_InsertPageNumber'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_RemovePageNumber26Identifies the TXITEM_RemovePageNumber drop-down item inside the TXITEM_InsertPageNumber'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_AddTextFrame27Identifies the TXITEM_AddTextFrame drop-down item inside the TXITEM_InsertTextFrame'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_TextFrameMarkerLines28Identifies the TXITEM_TextFrameMarkerLines drop-down item inside the TXITEM_InsertTextFrame'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_MoreSymbols29Identifies the TXITEM_MoreSymbols drop-down item inside the TXITEM_InsertSymbol'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_Insert Table Gallery value from the Ribbon Drop Down Item enumeration and uses it as a documented workflow choice.

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