# TextControl.InputFormat Property

> Gets an object of the type InputFormat which represents all formatting attributes at the current text input position.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 16.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 > TextControl.InputFormat Property
- **317 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/inputformat-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/inputformat-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/inputformat-property/llms-full.txt

---

### Description

Gets an object of the type [InputFormat](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/inputformat/llms-full.txt) which represents all formatting attributes at the current text input position.

### Syntax

```csharp
public InputFormat InputFormat { get; }
```

```vbnet
Public ReadOnly Property InputFormat As InputFormat
```

### Examples

The following example includes the input format value in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Input Format: {textControl.InputFormat}");
Console.WriteLine("Text Control is ready for use.");
```

```vbnet
Console.WriteLine($"Input Format: {textControl.InputFormat}")
Console.WriteLine("Text Control is ready for use.")
```

### Limitations

Runtime only.

Read only.

---

## Nearby

- **Previous:** [TextControl.InlineStyles Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/inlinestyles-property/llms-full.txt)
- **Next:** [TextControl.InputFormattingStyleChanged Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/inputformattingstylechanged-event/llms-full.txt)
