TX Text Control .NET for Windows Forms

RibbonItem Enumeration

Enumeration|Introduced in 24.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 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.RibbonItem

Members

MemberValueDescription
TXITEM_SpellingAndHyphenationGroup0Identifies 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_EnableSpellChecking1Identifies 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_EnableHyphenations2Identifies 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_Thesaurus3Identifies 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_Spelling4Identifies 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_ProofingSettingsGroup5Identifies 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_LoadDictionary6Identifies 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_LoadThesaurusFile7Identifies 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_SpellingOptions8Identifies 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_CommentsGroup9Identifies 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_AddComment10Identifies 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_DeleteComment11Identifies 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_PreviousComment12Identifies 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_NextComment13Identifies 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_EditComment14Identifies 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_CommentsViewMode15Identifies 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_ShowComments16Identifies 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_Comments17Identifies 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_Sidebars18Identifies 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_TrackChangesGroup19Identifies 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_TrackChanges20Identifies 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_AcceptTrackedChange21Identifies 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_RejectTrackedChange22Identifies 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_TrackedChanges23Identifies 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_Sidebars24Identifies 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_PreviousTrackedChange25Identifies 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_NextTrackedChange26Identifies 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_ShowMarkup27Identifies 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_LanguageGroup28Identifies 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_DetectLanguages29Identifies 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_SetLanguage30Identifies 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}");