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 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.RibbonDropDownItemPublic Enum RibbonInsertTab.RibbonDropDownItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_InsertTableGallery | 0 | Identifies 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_InsertTableDialog | 1 | Identifies 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_InsertImageDialog | 2 | Identifies 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_InsertImagePlaceHolder | 3 | Identifies 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_LinesCategory | 4 | Identifies 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_RectanglesCategory | 5 | Identifies 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_BasicShapesCategory | 6 | Identifies 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_BlockArrowsCategory | 7 | Identifies 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_EquationShapesCategory | 8 | Identifies 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_FlowChartCategory | 9 | Identifies 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_StarsAndBannersCategory | 10 | Identifies 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_CalloutsCategory | 11 | Identifies 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_InsertDrawingCanvas | 12 | Identifies 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_DrawingMarkerLines | 13 | Identifies 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_InsertHyperlinkDialog | 14 | Identifies 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_EditHyperlink | 15 | Identifies the TXITEM_EditHyperlink 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_InsertBookmarkDialog | 16 | Identifies 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_DeleteBookmark | 17 | Identifies 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_EditBookmark | 18 | Identifies 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_DocumentTargetMarkers | 19 | Identifies 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_EditHeader | 20 | Identifies 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_RemoveHeader | 21 | Identifies 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_EditFooter | 22 | Identifies 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_RemoveFooter | 23 | Identifies 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_InsertStandardPageNumber | 24 | Identifies 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_FormatPageNumber | 25 | Identifies 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_RemovePageNumber | 26 | Identifies 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_AddTextFrame | 27 | Identifies 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_TextFrameMarkerLines | 28 | Identifies 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_MoreSymbols | 29 | Identifies 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.WPF.RibbonInsertTab.RibbonDropDownItem value = TXTextControl.WPF.RibbonInsertTab.RibbonDropDownItem.TXITEM_InsertTableGallery;
Console.WriteLine($"Using Ribbon Drop Down Item: {value}");Dim value As TXTextControl.WPF.RibbonInsertTab.RibbonDropDownItem = TXTextControl.WPF.RibbonInsertTab.RibbonDropDownItem.TXITEM_InsertTableGallery
Console.WriteLine($"Using Ribbon Drop Down Item: {value}")