TX Text Control .NET for Windows Forms

InputFormat Property

Property|Introduced in 16.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

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

Syntax

public InputFormat InputFormat { get; }

Examples

The following example configures bold input at the end of a report heading.

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

Limitations

Runtime only.

Read only.