TX Text Control .NET for Windows Forms

GeneralItem Enumeration

Enumeration|Introduced in 27.0
Namespace
TXTextControl.Windows.Forms
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 GeneralItem represents the identifier for a general item. The string conversion of each GeneralItem can be passed as an identifier to static ResourceProvider methods to receive bitmaps or strings that are associated with the corresponding general item.

Syntax

public enum ResourceProvider.GeneralItem

Members

MemberValueDescription
TXITEM_Checkmark0Represents the general TXITEM_Checkmark item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon resource.
TXITEM_Checked1Represents the general TXITEM_Checked item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon resource.
TXITEM_Unchecked2Represents the general TXITEM_Unchecked item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon resource.
TXITEM_Launcher3Represents the general TXITEM_Launcher item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon resource.
TXITEM_Close4Represents the general TXITEM_Close item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon resource.
TXITEM_Pinned5Represents the general TXITEM_Pinned item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon resource.
TXITEM_Unpinned6Represents the general TXITEM_Unpinned item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon resource.
TXITEM_Plus7Represents the general TXITEM_Plus item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon resource.
TXITEM_Minus8Represents the general TXITEM_Minus item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon resource.
TXITEM_Undo9Represents the general TXITEM_Undo item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle and ToolTipDescription resources.
TXITEM_Redo10Represents the general TXITEM_Redo item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon, Text, ToolTipTitle and ToolTipDescription resources.
TXITEM_NavigateToFirst11Represents the general TXITEM_NavigateToFirst item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon and SmallIcon resources.
TXITEM_NavigateToPrevious12Represents the general TXITEM_NavigateToPrevious item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon and SmallIcon resources.
TXITEM_NavigateToNext13Represents the general TXITEM_NavigateToNext item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon and SmallIcon resources.
TXITEM_NavigateToLast14Represents the general TXITEM_NavigateToLast item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding LargeIcon and SmallIcon resources.
TXITEM_AdvancedSettings15Represents the general TXITEM_AdvancedSettings item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon resource.
TXITEM_Add16Represents the general TXITEM_Add item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon resource.
TXITEM_Remove17Represents the general TXITEM_Remove item. The string conversion of that identifier can be passed to the appropriate ResourceProvider method to get the corresponding SmallIcon resource.

Examples

The following example selects the TXITEM_Checkmark value from the General Item enumeration and uses it as a documented workflow choice.

TXTextControl.Windows.Forms.ResourceProvider.GeneralItem value = TXTextControl.Windows.Forms.ResourceProvider.GeneralItem.TXITEM_Checkmark;
Console.WriteLine($"Using General Item: {value}");