TX Text Control .NET for WPF

RibbonDropDownItem Enumeration

Enumeration|Introduced in 27.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 RibbonDropDownItem represents a drop-down item in the RibbonViewTab. 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 RibbonViewTab.RibbonDropDownItem

Members

MemberValueDescription
TXITEM_ZoomFactor_250Identifies the TXITEM_ZoomFactor_25 drop-down item inside the TXITEM_ZoomFactor'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_ZoomFactor_501Identifies the TXITEM_ZoomFactor_50 drop-down item inside the TXITEM_ZoomFactor'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_ZoomFactor_752Identifies the TXITEM_ZoomFactor_75 drop-down item inside the TXITEM_ZoomFactor'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_ZoomFactor_1003Identifies the TXITEM_ZoomFactor_100 drop-down item inside the TXITEM_ZoomFactor'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_ZoomFactor_1504Identifies the TXITEM_ZoomFactor_150 drop-down item inside the TXITEM_ZoomFactor'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_ZoomFactor_2005Identifies the TXITEM_ZoomFactor_200 drop-down item inside the TXITEM_ZoomFactor'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_ZoomFactor_4006Identifies the TXITEM_ZoomFactor_400 drop-down item inside the TXITEM_ZoomFactor'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_Zoom Factor_25 value from the Ribbon Drop Down Item enumeration and uses it as a documented workflow choice.

TXTextControl.WPF.RibbonViewTab.RibbonDropDownItem value = TXTextControl.WPF.RibbonViewTab.RibbonDropDownItem.TXITEM_ZoomFactor_25;
Console.WriteLine($"Using Ribbon Drop Down Item: {value}");