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 RibbonProofingTab. 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 RibbonProofingTab.RibbonDropDownItemPublic Enum RibbonProofingTab.RibbonDropDownItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_DeleteComment_DeleteThisComment | 0 | Identifies the TXITEM_DeleteComment_DeleteThisComment drop-down item inside the TXITEM_DeleteComment'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_DeleteComment_DeleteThisReply | 1 | Identifies the TXITEM_DeleteComment_DeleteThisReply drop-down item inside the TXITEM_DeleteComment's drop-down menu. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon and Text resources. |
| TXITEM_DeleteComment_DeleteAllComments | 2 | Identifies the TXITEM_DeleteComment_DeleteAllComments drop-down item inside the TXITEM_DeleteComment'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_ShowComments_AllReviewers | 3 | Identifies the TXITEM_ShowComments_AllReviewers drop-down item inside the TXITEM_ShowComments'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_Comments_Sidebars_Vertical | 4 | Identifies the TXITEM_Comments_Sidebars_Vertical drop-down item inside the TXITEM_Comments'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_Comments_Sidebars_Horizontal | 5 | Identifies the TXITEM_Comments_Sidebars_Horizontal drop-down item inside the TXITEM_Comments'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_AcceptTrackedChange_AcceptAndMoveToNext | 6 | Identifies the TXITEM_AcceptTrackedChange_AcceptAndMoveToNext drop-down item inside the TXITEM_AcceptTrackedChange'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_AcceptTrackedChange_AcceptThisChange | 7 | Identifies the TXITEM_AcceptTrackedChange_AcceptThisChange drop-down item inside the TXITEM_AcceptTrackedChange'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_AcceptTrackedChange_AcceptAllChanges | 8 | Identifies the TXITEM_AcceptTrackedChange_AcceptAllChanges drop-down item inside the TXITEM_AcceptTrackedChange'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_AcceptTrackedChange_AcceptAllChangesAndStopTracking | 9 | Identifies the TXITEM_AcceptTrackedChange_AcceptAllChangesAndStopTracking drop-down item inside the TXITEM_AcceptTrackedChange'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_RejectTrackedChange_RejectAndMoveToNext | 10 | Identifies the TXITEM_RejectTrackedChange_RejectAndMoveToNext drop-down item inside the TXITEM_RejectTrackedChange'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_RejectTrackedChange_RejectThisChange | 11 | Identifies the TXITEM_RejectTrackedChange_RejectThisChange drop-down item inside the TXITEM_RejectTrackedChange'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_RejectTrackedChange_RejectAllChanges | 12 | Identifies the TXITEM_RejectTrackedChange_RejectAllChanges drop-down item inside the TXITEM_RejectTrackedChange'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_RejectTrackedChange_RejectAllChangesAndStopTracking | 13 | Identifies the TXITEM_RejectTrackedChange_RejectAllChangesAndStopTracking drop-down item inside the TXITEM_RejectTrackedChange'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_TrackedChanges_Sidebars_Vertical | 14 | Identifies the TXITEM_TrackedChanges_Sidebars_Vertical drop-down item inside the TXITEM_TrackedChanges'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_TrackedChanges_Sidebars_Horizontal | 15 | Identifies the TXITEM_TrackedChanges_Sidebars_Horizontal drop-down item inside the TXITEM_TrackedChanges'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_ShowMarkup_AllReviewers | 16 | Identifies the TXITEM_ShowMarkup_AllReviewers drop-down item inside the TXITEM_ShowMarkup'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_Delete Comment_Delete This Comment value from the Ribbon Drop Down Item enumeration and uses it as a documented workflow choice.
TXTextControl.WPF.RibbonProofingTab.RibbonDropDownItem value = TXTextControl.WPF.RibbonProofingTab.RibbonDropDownItem.TXITEM_DeleteComment_DeleteThisComment;
Console.WriteLine($"Using Ribbon Drop Down Item: {value}");Dim value As TXTextControl.WPF.RibbonProofingTab.RibbonDropDownItem = TXTextControl.WPF.RibbonProofingTab.RibbonDropDownItem.TXITEM_DeleteComment_DeleteThisComment
Console.WriteLine($"Using Ribbon Drop Down Item: {value}")