# LoadSettings.LoadedFile Property

> Gets the name and path of the file that has been loaded.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > LoadSettings.LoadedFile Property
- **356 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/loadedfile-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/loadedfile-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/loadedfile-property/llms-full.txt

---

### Description

Gets the name and path of the file that has been loaded.

### Syntax

```csharp
public string LoadedFile { get; }
```

```vbnet
Public ReadOnly Property LoadedFile As String
```

### Examples

The following example reads `LoadSettings.LoadedFile` after the template has been loaded.

```csharp
LoadSettings loadSettings = new();
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);
Console.WriteLine($"Loaded File: {loadSettings.LoadedFile}");
```

```vbnet
Dim loadSettings As New LoadSettings()
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings)
Console.WriteLine($"Loaded File: {loadSettings.LoadedFile}")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [LoadSettings.LoadDocumentBackColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/loaddocumentbackcolor-property/llms-full.txt)
- **Next:** [LoadSettings.LoadedStreamType Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/loadedstreamtype-property/llms-full.txt)
