# TextControlSettings Class

> The TextControlSettings class contains the TextControl extension settings. It is used as a parameter for the Web.MVC.ControlsFactory.TextControl method which creates new TextControl instances.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 23.0
- **Namespace:** `TXTextControl.Web.MVC`
- **Package:** `TXTextControl.Web` (assembly `TXTextControl.Web.DocumentEditor.dll`, from nuget.org, the private NuGet feed or Text Control Offline Packages)
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web.MVC > TextControlSettings Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/llms-full.txt

---

## On This Page

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

---

## In This Section

- [TextControlSettings.APIRoute Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/apiroute-property/llms.txt): Determines the API directory in the MVC project in which to find the WebSocket and print handlers. The default value is "api/".
- [TextControlSettings.BackColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/backcolor-property/llms.txt): Specifies or returns the background color of the main text area and the ruler bars.
- [TextControlSettings.ContextMenusEnabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/contextmenusenabled-property/llms.txt): Determines if a right click opens a context menu or not.
- [TextControlSettings.ControlChars Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/controlchars-property/llms.txt): Specifies if control characters are visible or not.
- [TextControlSettings.Culture Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/culture-property/llms.txt): Gets or sets the control's culture. Affects date and time string formats, for example.
- [TextControlSettings.DatabaseFileDirectory Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/databasefiledirectory-property/llms.txt): Determines the directory path where database files are stored on the web server.
- [TextControlSettings.Dock Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/dock-property/llms.txt): Gets or sets a value how the control is docked to its container or web site.
- [TextControlSettings.DocumentFileDirectory Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/documentfiledirectory-property/llms.txt): Determines the directory path where document files are stored on the web server.
- [TextControlSettings.DocumentTargetMarkers Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/documenttargetmarkers-property/llms.txt): Specifies if markers for hypertext targets are shown in the editor or not.
- [TextControlSettings.EditMode Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/editmode-property/llms.txt): Specifies or returns a value of type Web.EditMode indicating whether the document's text is read-only, can be selected or is editable.
- [TextControlSettings.FormattingPrinter Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/formattingprinter-property/llms.txt): Gets or sets the name of a printer the text dimensions and capabilities of which are used to format the document. If the document is printed with this printer the displayed and the printed document have the same dimensions. If the property is set to Standard, the system installed standard printer is used to format the document. If the property is set to Display, the font dimensions of the display device are used to format the document. If the specified printer is not installed, the standard printer is used.
- [TextControlSettings.Height Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/height-property/llms.txt): Gets or sets the height of the control in the browser in percent, pixels or any other valid CSS length unit.
- [TextControlSettings.ImageFileDirectory Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/imagefiledirectory-property/llms.txt): Determines the directory path where image files are stored on the web server.
- [TextControlSettings.SaveDocumentQuestionDialogEnabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/savedocumentquestiondialogenabled-property/llms.txt): Determines if a confirmation dialog should be shown before discarding unsaved changes.
- [TextControlSettings.ServiceAddress Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/serviceaddress-property/llms.txt): Gets or sets the IP address at which the websocket handler tries to connect to the Service. The default value is 127.0.0.1 (the local computer). Important: setting this property affects all instances of class TextControlSettings.
- [TextControlSettings.ServicePort Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/serviceport-property/llms.txt): Gets or sets the Port at which the websocket handler tries to connect to the Service. Important: setting this property affects all instances of class TextControlSettings.
- [TextControlSettings.StaticFilesPath Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/staticfilespath-property/llms.txt): Specifies or returns the path for static files. Is /TXTextControl.Web/ by default.
- [TextControlSettings.StatusBarColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/statusbarcolor-property/llms.txt): Specifies or returns the background color of the status bar.
- [TextControlSettings.TableGridLines Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/tablegridlines-property/llms.txt): Determines wether table grid lines are shown in the editor or not.
- [TextControlSettings.TextFieldsEditable Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/textfieldseditable-property/llms.txt): Gets or sets if text fields are editable or not.
- [TextControlSettings.TextFrameMarkerLines Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/textframemarkerlines-property/llms.txt): Specifies whether text frames that have no border line are shown with marker lines.
- [TextControlSettings.UICulture Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/uiculture-property/llms.txt): Gets or sets the control's user interface culture. Affects the string resource language.
- [TextControlSettings.UserNames Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/usernames-property/llms.txt): Gets or sets a list of names specifying users who have access to editable regions. When a document is set to read-only all editable regions that are related to these users can be edited.
- [TextControlSettings.Width Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/width-property/llms.txt): Gets or sets the width of the control in the browser in percent, pixels or any other valid CSS length unit.

---

## Nearby

- **Previous:** [TextControl.SetFileDirectory Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrol/setfiledirectory-method/llms.txt)
- **Next:** [TextControlSettings.APIRoute Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/apiroute-property/llms.txt)
