TX Text Control .NET for WPF

RibbonItem Enumeration

Enumeration|Introduced in 24.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.WPF.dll from the setup.

Description

Each RibbonItem represents an item in the RibbonViewTab 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 RibbonViewTab's FrameworkElement.FindName 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 RibbonViewTab.RibbonItem

Members

MemberValueDescription
TXITEM_DocumentViewsGroup0Identifies the TXITEM_DocumentViewsGroup ribbon group inside the RibbonViewTab 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_PrintLayout1Identifies the TXITEM_PrintLayout ribbon item inside the TXITEM_DocumentViewsGroup 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_Draft2Identifies the TXITEM_Draft ribbon item inside the TXITEM_DocumentViewsGroup 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_ZoomGroup3Identifies the TXITEM_ZoomGroup ribbon group inside the RibbonViewTab 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_ZoomFactor4Identifies the TXITEM_ZoomFactor ribbon item inside the TXITEM_ZoomGroup 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_Zoom1005Identifies the TXITEM_Zoom100 ribbon item inside the TXITEM_ZoomGroup 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_FullPage6Identifies the TXITEM_FullPage ribbon item inside the TXITEM_ZoomGroup 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_PageWidth7Identifies the TXITEM_PageWidth ribbon item inside the TXITEM_ZoomGroup 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_TextWidth8Identifies the TXITEM_TextWidth ribbon item inside the TXITEM_ZoomGroup 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_ToolbarsGroup9Identifies the TXITEM_ToolbarsGroup ribbon group inside the RibbonViewTab 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_HorizontalRuler10Identifies the TXITEM_HorizontalRuler ribbon item inside the TXITEM_ToolbarsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding Text, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_VerticalRuler11Identifies the TXITEM_VerticalRuler ribbon item inside the TXITEM_ToolbarsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding Text, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_StatusBar12Identifies the TXITEM_StatusBar ribbon item inside the TXITEM_ToolbarsGroup ribbon group. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding Text, ToolTipTitle, ToolTipDescription and KeyTip resources.
TXITEM_ShowGroup13Identifies the TXITEM_ShowGroup ribbon group inside the RibbonViewTab 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_ShowTableGridlines14Identifies the TXITEM_ShowTableGridlines ribbon item inside the TXITEM_ShowGroup 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_ShowBookmarkMarkers15Identifies the TXITEM_ShowBookmarkMarkers ribbon item inside the TXITEM_ShowGroup 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_ShowTextFrameMarkersLines16Identifies the TXITEM_ShowTextFrameMarkersLines ribbon item inside the TXITEM_ShowGroup 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_ShowDrawingFrameMarkersLines17Identifies the TXITEM_ShowDrawingFrameMarkersLines ribbon item inside the TXITEM_ShowGroup 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_ShowControlChars18Identifies the TXITEM_ShowControlChars ribbon item inside the TXITEM_ShowGroup 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_ShowFrameAnchors19Identifies the TXITEM_ShowFrameAnchors ribbon item inside the TXITEM_ShowGroup 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.

Examples

The following example selects the TXITEM_Document Views Group value from the Ribbon Item enumeration and uses it as a documented workflow choice.

TXTextControl.WPF.RibbonViewTab.RibbonItem value = TXTextControl.WPF.RibbonViewTab.RibbonItem.TXITEM_DocumentViewsGroup;
Console.WriteLine($"Using Ribbon Item: {value}");