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.

Syntax

public class TextControlSettings
Public Class TextControlSettings

Introduced: X13.

Properties

Property Description
APIRoute Determines the API directory in the MVC project in which to find the WebSocket and print handlers.
BackColor Specifies or returns the background color of the main text area and the ruler bars.
ContextMenusEnabled Determines if a right click opens a context menu or not.
ControlChars Specifies if control characters are visible or not.
Culture Gets or sets the control's culture.
DatabaseFileDirectory Determines the directory path where database files are stored on the web server.
Dock Gets or sets a value how the control is docked to its container or web site.
DocumentFileDirectory Determines the directory path where document files are stored on the web server.
DocumentTargetMarkers Specifies if markers for hypertext targets are shown in the editor or not.
EditMode Specifies or returns a value of type Web.EditMode indicating whether the document's text is read-only, can be selected or is editable.
FormattingPrinter Gets or sets the name of a printer the text dimensions and capabilities of which are used to format the document.
Height Gets or sets the height of the control in the browser in percent, pixels or any other valid CSS length unit.
ImageFileDirectory Determines the directory path where image files are stored on the web server.
SaveDocumentQuestionDialogEnabled Determines if a confirmation dialog should be shown before discarding unsaved changes.
ServiceAddress Gets or sets the IP address at which the websocket handler tries to connect to the Service.
ServicePort Gets or sets the Port at which the websocket handler tries to connect to the Service.
StaticFilesPath Specifies or returns the path for static files.
StatusBarColor Specifies or returns the background color of the status bar.
TableGridLines Determines wether table grid lines are shown in the editor or not.
TextFieldsEditable Gets or sets if text fields are editable or not.
TextFrameMarkerLines Specifies whether text frames that have no border line are shown with marker lines.
UICulture Gets or sets the control's user interface culture.
UserNames Gets or sets a list of names specifying users who have access to editable regions.
Width Gets or sets the width of the control in the browser in percent, pixels or any other valid CSS length unit.