# ResourceProvider.FileMenuItem Enumeration

> 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.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 27.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > ResourceProvider.FileMenuItem Enumeration
- **1746 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/filemenuitem-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/filemenuitem-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/filemenuitem-enumeration/llms-full.txt

---

### 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

```csharp
public enum ResourceProvider.FileMenuItem
```

```vbnet
Public Enum ResourceProvider.FileMenuItem
```

### Members

| Member | Value | Description |
|---|---|---|
| TXITEM\_New | 0 | Represents 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\_Open | 1 | Represents 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\_Save | 2 | Represents 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\_SaveAs | 3 | Represents 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\_Print | 4 | Represents 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\_PrintQuick | 5 | Represents 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\_PrintPreview | 6 | Represents 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\_Options | 7 | Represents 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\_UserAdministration | 8 | Represents 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\_GrantUserAccess | 9 | Represents 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\_About | 10 | Represents 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\_Exit | 11 | Represents 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\_DocumentSettings | 12 | Represents 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\_SignIn | 13 | Not described in the reference. |
| TXITEM\_CurrentUser | 14 | Not described in the reference. |
| TXITEM\_AccountSettings | 15 | Not described in the reference. |
| TXITEM\_SignOut | 16 | Not 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.

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

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

---

## Nearby

- **Previous:** [ResourceProvider.BarcodeItem Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/barcodeitem-enumeration/llms-full.txt)
- **Next:** [ResourceProvider.GeneralItem Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/resourceprovider/generalitem-enumeration/llms-full.txt)
