TX Text Control .NET for WPF

FileMenuItem 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 FileMenuItem represents the identifier for a file menu item. The string conversion of each FileMenuItem can be passed as an identifier to static ResourceProvider methods to receive bitmaps or strings that are associated with the corresponding file menu item.

Syntax

public enum ResourceProvider.FileMenuItem

Members

MemberValueDescription
TXITEM_New0Represents the TXITEM_New file menu item. 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_Open1Represents the TXITEM_Open file menu item. 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_Save2Represents the TXITEM_Save file menu item. 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_SaveAs3Represents the TXITEM_SaveAs file menu item. 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_Print4Represents the TXITEM_Print file menu item. 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_PrintQuick5Represents the TXITEM_PrintQuick file menu item. 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_PrintPreview6Represents the TXITEM_PrintPreview file menu item. 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_Options7Represents the TXITEM_Options file menu item. 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_UserAdministration8Represents the TXITEM_UserAdministration file menu item. 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_GrantUserAccess9Represents the TXITEM_GrantUserAccess file menu item. 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_About10Represents the TXITEM_About file menu item. 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_Exit11Represents the TXITEM_Exit file menu item. 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_DocumentSettings12Represents the TXITEM_DocumentSettings file menu item. 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_SignIn13Not described in the reference.
TXITEM_CurrentUser14Not described in the reference.
TXITEM_AccountSettings15Not described in the reference.
TXITEM_SignOut16Not described in the reference.

Examples

The following example selects the TXITEM_New value from the File Menu Item enumeration and uses it as a documented workflow choice.

TXTextControl.WPF.ResourceProvider.FileMenuItem value = TXTextControl.WPF.ResourceProvider.FileMenuItem.TXITEM_New;
Console.WriteLine($"Using File Menu Item: {value}");