# 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 Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 16.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > TextControl.InputFormat Property
- **380 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/inputformat-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/inputformat-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/inputformat-property/llms-full.txt

---

### Description

Gets an object of the type [InputFormat](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/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 configures bold input at the end of a report heading.

```csharp
textControl.Text = "Quarterly results";
textControl.InputPosition = new InputPosition(textControl.Text.Length);
textControl.InputFormat.Bold = true;
```

```vbnet
textControl.Text = "Quarterly results"
textControl.InputPosition = New InputPosition(textControl.Text.Length)
textControl.InputFormat.Bold = True
```

### Limitations

Runtime only.

Read only.

---

## Nearby

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