# InputFormat Class

> The InputFormat class represents all formatting attributes at the current text input position. All properties are automatically updated, when the input position changes so that the class can be used in a XAML data binding without code behind. This is useful when a TextControl or WPF.TextControl is connected with other controls which show the current state at the input position. If text is selected and the selection has no common value for a certain attribute, the corresponding property is null.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 16.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.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 Server > Reference > TXTextControl > InputFormat Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/#members)

---

## In This Section

- [InputFormat.AllFrameLines Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/allframelines-property/llms.txt): Gets or sets a value specifying whether all frame lines, including all inner frame lines, are set for the selected text. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.Bold Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/bold-property/llms.txt): Gets or sets a value specifying whether text is bold at the current input position. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.BottomAligned Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/bottomaligned-property/llms.txt): Gets or sets a value specifying whether text is bottom aligned at the current input position. If text is selected, the property specifies this attribute for the whole selected text. In table cells text can be vertically aligned, at the top, at the bottom and centered. Outside of table cells, the vertical alignment is always at the top.
- [InputFormat.BottomDistance Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/bottomdistance-property/llms.txt): Gets or sets a bottom paragraph distance, in twips, at the current input position. If text is selected, the property specifies the bottom distance of the whole selected text.
- [InputFormat.BottomFrameLine Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/bottomframeline-property/llms.txt): Gets or sets a value specifying whether there is a frame line at the bottom of the text. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.BoxFrame Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/boxframe-property/llms.txt): Gets or sets a value specifying whether there is a complete frame around the text. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.BulletCharacter Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/bulletcharacter-property/llms.txt): Gets or sets the bullet character at the current input position. If text is selected, the property specifies the bullet character of the whole selected text.
- [InputFormat.BulletedList Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/bulletedlist-property/llms.txt): Gets or sets a value specifying whether there is a bulleted list at the current input position. The bullet character is determined through the BulletCharacter property. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.Centered Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/centered-property/llms.txt): Gets or sets a value specifying whether text is centered at the current input position. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.FontFamily Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/fontfamily-property/llms.txt): Gets or sets the font family at the current input position. If text is selected, the property specifies the font family of the whole selected text.
- [InputFormat.FontSize Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/fontsize-property/llms.txt): Gets or sets the font's size, in twips, at the current input position. If text is selected, the property specifies the font size of the whole selected text.
- [InputFormat.FrameFillColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/framefillcolor-property/llms.txt): Gets or sets the color used to display the frame fill color at the current input position. If text is selected, the property specifies the fill color of the whole selected text. A background color can be set for table cells and paragraphs. If the fill color is transparent, a TextControl uses the control's background color.
- [InputFormat.FrameLineColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/framelinecolor-property/llms.txt): Gets or sets the color used to display the color of frame lines at the current text input position. If text is selected, the property specifies the color of frame lines used in the whole selected text. A frame line color can be set for table cells and paragraphs.
- [InputFormat.FrameLineWidth Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/framelinewidth-property/llms.txt): Gets or sets the line width, in twips, of the paragraph's or table's frame at the current input position. If text is selected, the property specifies the line width of the whole selected text.
- [InputFormat.GetFontFamilies Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/getfontfamilies-method/llms.txt): Returns an array of strings specifying all supported fonts. These fonts depend on the formatting device set with the WPF.TextControl.FormattingPrinter or TextControl.FormattingPrinter property and on attributes set with the WPF.TextControl.FontSettings or TextControl.FontSettings property.
- [InputFormat.GetFontSizes Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/getfontsizes-method/llms.txt): Returns all possible font sizes of a certain font.
- [InputFormat.HangingIndent Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/hangingindent-property/llms.txt): Gets or sets the hanging indent, in twips, at the current input position. If text is selected, the property specifies the hanging indent of the whole selected text. A negative value indicates an additional indent of the paragraph's first line.
- [InputFormat.InnerHorizontalFrameLines Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/innerhorizontalframelines-property/llms.txt): Gets or sets a value specifying whether all inner horizontal frame lines are set for the selected text. This can be either table frame lines or lines between paragraphs.
- [InputFormat.InnerVerticalFrameLines Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/innerverticalframelines-property/llms.txt): Gets or sets a value specifying whether all inner vertical frame lines are set for the selected text. If the selected text contains no table, this property has no meaning.
- [InputFormat.Italic Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/italic-property/llms.txt): Gets or sets a value specifying whether the text is italic at the current input position. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.Justified Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/justified-property/llms.txt): Gets or sets a value specifying whether text is justified at the current input position. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.LeftAligned Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/leftaligned-property/llms.txt): Gets or sets a value specifying whether text is left aligned at the current input position. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.LeftFrameLine Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/leftframeline-property/llms.txt): Gets or sets a value specifying whether there is a frame line at the left side of the text. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.LeftIndent Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/leftindent-property/llms.txt): Gets or sets the left indent, in twips, at the current input position. If text is selected, the property specifies the left indent of the whole selected text.
- [InputFormat.LeftToRight Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/lefttoright-property/llms.txt): Gets or sets a value specifying whether the writung direction is left-to-right at the current input position. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.LineSpacing Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/linespacing-property/llms.txt): Gets or sets the line spacing, in percent, at the current input position. If text is selected, the property specifies the line spacing of the whole selected text.
- [InputFormat.NumberedList Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/numberedlist-property/llms.txt): Gets or sets a value specifying whether there is a numbered list at the current input position. The number format is determined through the NumberedListFormat property. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.NumberedListFormat Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/numberedlistformat-property/llms.txt): Gets or sets the number format for a numbered list at the current input position. If text is selected, the property specifies this attribute for the whole selected text. This property determines the number format for the NumberedList property. The property's value is a member of the NumberFormat enumeration.
- [InputFormat.NumberFormat Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/numberformat-property/llms.txt): Gets or sets a number format which can be used to automatically format numbers in table cells. When a formula is defined the automatically calculated text can also be formatted with a number format. When a number format is not defined, the property's value is an empty string. The number format string has a format as described in Office Open XML File Formats - ISO/IEC 29500 - 1, Chapter: 18.8.31 Number Formats. See Formatting Text by using Number Formats for more information. If text is selected, the property specifies the number format of the whole selected text.
- [InputFormat.NumberFormats Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/numberformats-property/llms.txt): Returns an array of all supported number formats for numbered and structured lists. This property can be used to fill a combo box or a menu.
- [InputFormat.NumberTextType Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/numbertexttype-property/llms.txt): Gets or sets a value specifying whether text at the current input position is interpreted as a number which means that the period character (.) is defined as decimal separator and the comma character (,) is defined as thousands separator. This texttype can be used only in table cells. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.RightAligned Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/rightaligned-property/llms.txt): Gets or sets a value specifying whether text is right aligned at the current input position. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.RightFrameLine Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/rightframeline-property/llms.txt): Gets or sets a value specifying whether there is a frame line at the right side of the text. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.RightIndent Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/rightindent-property/llms.txt): Gets or sets the right indent, in twips, at the current input position. If text is selected, the property specifies the right indent of the whole selected text.
- [InputFormat.RightToLeft Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/righttoleft-property/llms.txt): Gets or sets a value specifying whether the writing direction is right-to-left at the current input position. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.StandardTextType Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/standardtexttype-property/llms.txt): Gets or sets a value specifying whether the text at the current input position is interpreted as standard text which means that it is displayed as it is. The NumberTextType can be used when text in a table cell should be interpreted as a number. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.Strikeout Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/strikeout-property/llms.txt): Gets or sets a value specifying whether the text is strikeout at the current input position. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.StructuredList Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/structuredlist-property/llms.txt): Gets or sets a value specifying whether there is a structured list at the current input position. The number format is determined through the StructuredListFormat property. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.StructuredListFormat Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/structuredlistformat-property/llms.txt): Gets or sets the number format for a structured list at the current input position. If text is selected, the property specifies this attribute for the whole selected text. This property determines the number format for the StructuredList property. The property's value is a member of the NumberFormat enumeration.
- [InputFormat.StructureLevel Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/structurelevel-property/llms.txt): Gets or sets the structure level of all selected paragraphs. The level can be between 0 and 10. A level of 0 indicates that the paragraph belongs to the body of the document.
- [InputFormat.StyleName Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/stylename-property/llms.txt): Gets or sets the formatting style name at the current input position. If text is selected, the property specifies the style of the whole selected text.
- [InputFormat.StyleNames Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/stylenames-property/llms.txt): Returns an array of the names of all formatting styles, the document contains. This property can be used to fill a combo box or a menu.
- [InputFormat.Subscript Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/subscript-property/llms.txt): Gets or sets a value specifying whether text is subscript at the current input position. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.Superscript Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/superscript-property/llms.txt): Gets or sets a value specifying whether text is superscript at the current input position. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.TextBackColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/textbackcolor-property/llms.txt): Gets or sets the color used to display the text background color at the current input position. If text is selected, the property specifies the background color of the whole selected text.
- [InputFormat.TextColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/textcolor-property/llms.txt): Returns or sets the color used to display the text at the current input position. If text is selected, the property specifies the text color of the whole selected text.
- [InputFormat.TopAligned Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/topaligned-property/llms.txt): Gets or sets a value specifying whether text is top aligned at the current input position. If text is selected, the property specifies this attribute for the whole selected text. In table cells text can be vertically aligned, at the top, at the bottom and centered. Outside of table cells, the vertical alignment is always at the top.
- [InputFormat.TopDistance Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/topdistance-property/llms.txt): Gets or sets a top paragraph distance, in twips, at the current input position. If text is selected, the property specifies the top distance of the whole selected text.
- [InputFormat.TopFrameLine Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/topframeline-property/llms.txt): Gets or sets a value specifying whether there is a frame line at the top of the text. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.Underline Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/underline-property/llms.txt): Gets or sets a value specifying whether text is underlined at the current input position. The underlining style is determined through the UnderlineStyle property. If text is selected, the property specifies this attribute for the whole selected text.
- [InputFormat.UnderlineStyle Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/underlinestyle-property/llms.txt): Gets or sets the underline style at the current input position. If text is selected, the property specifies this attribute for the whole selected text. This property determines the style for the Underline property.
- [InputFormat.UnderlineStyles Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/underlinestyles-property/llms.txt): Returns an array of all supported underline styles. This property can be used to fill a combo box or a menu.
- [InputFormat.VerticallyCentered Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/verticallycentered-property/llms.txt): Gets or sets a value specifying whether text is vertically centered at the current text input position. If text is selected, the property specifies this attribute for the whole selected text. In table cells text can be vertically aligned, at the top, at the bottom and centered. Outside of table cells, the vertical alignment is always at the top.

---

## Nearby

- **Previous:** [InlineStyleCollection.GetItem Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inlinestylecollection/getitem-method/llms.txt)
- **Next:** [InputFormat.AllFrameLines Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/allframelines-property/llms.txt)
