GeneralItem Enumeration
- Namespace
TXTextControl.Windows. Forms
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
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.GeneralItemPublic Enum ResourceProvider.GeneralItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_Checkmark | 0 | Represents 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_Checked | 1 | Represents 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_Unchecked | 2 | Represents 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_Launcher | 3 | Represents 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_Close | 4 | Represents 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_Pinned | 5 | Represents 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_Unpinned | 6 | Represents 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_Plus | 7 | Represents 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_Minus | 8 | Represents 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_Undo | 9 | Represents 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_Redo | 10 | Represents 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_NavigateToFirst | 11 | Represents 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_NavigateToPrevious | 12 | Represents 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_NavigateToNext | 13 | Represents 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_NavigateToLast | 14 | Represents 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_AdvancedSettings | 15 | Represents 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_Add | 16 | Represents 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_Remove | 17 | Represents 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}");Dim value As TXTextControl.Windows.Forms.ResourceProvider.GeneralItem = TXTextControl.Windows.Forms.ResourceProvider.GeneralItem.TXITEM_Checkmark
Console.WriteLine($"Using General Item: {value}")