RibbonItem 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 RibbonItem represents an item in the RibbonProofingTab that is not a drop-down item. The corresponding string of a RibbonItem is the same as the item's Name property. The RibbonItem enumeration can be used with the FindItem method to get an item and manipulate it or with the ResourceProvider class that provides static methods to receive bitmaps or strings which are associated with the corresponding ribbon item.
Syntax
public enum RibbonProofingTab.RibbonItemPublic Enum RibbonProofingTab.RibbonItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_SpellingAndHyphenationGroup | 0 | Identifies the TXITEM_SpellingAndHyphenationGroup ribbon group inside the RibbonProofingTab ribbon tab. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text and KeyTip resources. |
| TXITEM_EnableSpellChecking | 1 | Identifies the TXITEM_EnableSpellChecking ribbon item inside the TXITEM_SpellingAndHyphenationGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_EnableHyphenations | 2 | Identifies the TXITEM_EnableHyphenations ribbon item inside the TXITEM_SpellingAndHyphenationGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_Thesaurus | 3 | Identifies the TXITEM_Thesaurus ribbon item inside the TXITEM_SpellingAndHyphenationGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_Spelling | 4 | Identifies the TXITEM_Spelling ribbon item inside the TXITEM_SpellingAndHyphenationGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_ProofingSettingsGroup | 5 | Identifies the TXITEM_ProofingSettingsGroup ribbon group inside the RibbonProofingTab ribbon tab. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text and KeyTip resources. |
| TXITEM_LoadDictionary | 6 | Identifies the TXITEM_LoadDictionary ribbon item inside the TXITEM_ProofingSettingsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_LoadThesaurusFile | 7 | Identifies the TXITEM_LoadThesaurusFile ribbon item inside the TXITEM_ProofingSettingsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_SpellingOptions | 8 | Identifies the TXITEM_SpellingOptions ribbon item inside the TXITEM_ProofingSettingsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_CommentsGroup | 9 | Identifies the TXITEM_CommentsGroup ribbon group inside the RibbonProofingTab ribbon tab. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text and KeyTip resources. |
| TXITEM_AddComment | 10 | Identifies the TXITEM_AddComment ribbon item inside the TXITEM_CommentsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_DeleteComment | 11 | Identifies the TXITEM_DeleteComment ribbon item inside the TXITEM_CommentsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_PreviousComment | 12 | Identifies the TXITEM_PreviousComment ribbon item inside the TXITEM_CommentsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_NextComment | 13 | Identifies the TXITEM_NextComment ribbon item inside the TXITEM_CommentsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_EditComment | 14 | Identifies the TXITEM_EditComment ribbon item inside the TXITEM_CommentsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_CommentsViewMode | 15 | Identifies the TXITEM_CommentsViewMode ribbon item inside the TXITEM_CommentsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_ShowComments | 16 | Identifies the TXITEM_ShowComments ribbon item inside the TXITEM_CommentsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_Comments | 17 | Identifies the TXITEM_Comments ribbon item inside the TXITEM_CommentsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_Comments_Sidebars | 18 | Identifies the TXITEM_Comments_Sidebars ribbon item inside the TXITEM_CommentsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text and ToolTipDescription resources. |
| TXITEM_TrackChangesGroup | 19 | Identifies the TXITEM_TrackChangesGroup ribbon group inside the RibbonProofingTab ribbon tab. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text and KeyTip resources. |
| TXITEM_TrackChanges | 20 | Identifies the TXITEM_TrackChanges ribbon item inside the TXITEM_TrackChangesGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_AcceptTrackedChange | 21 | Identifies the TXITEM_AcceptTrackedChange ribbon item inside the TXITEM_TrackChangesGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_RejectTrackedChange | 22 | Identifies the TXITEM_RejectTrackedChange ribbon item inside the TXITEM_TrackChangesGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_TrackedChanges | 23 | Identifies the TXITEM_TrackedChanges ribbon item inside the TXITEM_TrackChangesGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_TrackedChanges_Sidebars | 24 | Identifies the TXITEM_TrackedChanges_Sidebars ribbon item inside the TXITEM_TrackChangesGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_PreviousTrackedChange | 25 | Identifies the TXITEM_PreviousTrackedChange ribbon item inside the TXITEM_TrackChangesGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_NextTrackedChange | 26 | Identifies the TXITEM_NextTrackedChange ribbon item inside the TXITEM_TrackChangesGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_ShowMarkup | 27 | Identifies the TXITEM_ShowMarkup ribbon item inside the TXITEM_TrackChangesGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_LanguageGroup | 28 | Identifies the TXITEM_LanguageGroup ribbon group inside the RibbonProofingTab ribbon tab. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text and KeyTip resources. |
| TXITEM_DetectLanguages | 29 | Identifies the TXITEM_DetectLanguages ribbon item inside the TXITEM_LanguageGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
| TXITEM_SetLanguage | 30 | Identifies the TXITEM_SetLanguage ribbon item inside the TXITEM_LanguageGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon, SmallIcon, Text, ToolTipTitle, ToolTipDescription and KeyTip resources. |
Examples
The following example selects the TXITEM_Spelling And Hyphenation Group value from the Ribbon Item enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Ribbon.RibbonProofingTab.RibbonItem value = TXTextControl.Windows.Forms.Ribbon.RibbonProofingTab.RibbonItem.TXITEM_SpellingAndHyphenationGroup;
Console.WriteLine($"Using Ribbon Item: {value}");Dim value As TXTextControl.Windows.Forms.Ribbon.RibbonProofingTab.RibbonItem = TXTextControl.Windows.Forms.Ribbon.RibbonProofingTab.RibbonItem.TXITEM_SpellingAndHyphenationGroup
Console.WriteLine($"Using Ribbon Item: {value}")