New Classes, Properties, Methods and Events

In TX Text Control 22.0 the following new classes, properties, methods and events have been added:

Classes

Class Description
TXTextControl.Web.HeaderFooter An instance of the Web.HeaderFooter class represents a header or footer in a Text Control document.
TXTextControl.Web.IFormattedText The Web.IFormattedText interface contains properties common to all text parts in a TX Text Control document.
TXTextControl.Web.MainText The Web.MainText class represents the main text of a TX Text Control document.
TXTextControl.Web.Selection The Web.Selection class describes and handles the position and length of a text selection.
TXTextControl.Web.TextFrame An instance of the Web.TextFrame class represents a text frame in a Text Control document.
TXTextControl.Web.TextPart The Web.TextPart class implements the Web.IFormattedText interface as well as public properties and internal functionality common to all text parts in a TX Text Control document.
TXTextControl.Web.TextPartCollection An instance of the Web.TextPartCollection class contains all text parts in a TX Text Control document.
TXTextControl.WPF.BookmarkDialog The WPF.BookmarkDialog class implements a dialog box to insert a DocumentTarget at the current input position.
TXTextControl.WPF.DeleteBookmarksDialog The DeleteBookmarksDialog class implements a dialog box which shows all targets in the current document.
TXTextControl.WPF.GotoDialog The GotoDialog class implements a dialog box which can be used to move the current input position to a certain page, section, line, table or bookmark.
TXTextControl.WPF.HyperlinkDialog The WPF.HyperlinkDialog class implements a built-in dialog box for inserting and editing a hyperlink at the current text input position.
TXTextControl.WPF.RibbonFormattingTab The WPF.RibbonFormattingTab class represents a ribbon tab for setting font and paragraph attributes, formatting styles and for handling the clipboard.
TXTextControl.WPF.RibbonInsertTab The WPF.RibbonInsertTab class represents a ribbon tab for inserting pages, images, hyperlinks, bookmarks, headers and footers, textframes and symbols.
TXTextControl.WPF.TextControlDocument An object of the WPF.TextControlDocument class represents a document and is part of the template of a WPF.TextControl.
TXTextControl.WPF.TextControlToolBar The WPF.TextControlToolBar class is the base class of the WPF.RulerBar and the WPF.StatusBar classes.
TXTextControl.WPF.TextControlToolBarPresenter A WPF.TextControlToolBarPresenter object is part of the template of a WPF.TextControlToolBar.

Properties

Property Description
TXTextControl.InputPosition.InactiveMarker Shows or hides a marker which indicates the current text input position when the TextControl is inactive and the blinking caret is not visible.
TXTextControl.Page.Footer Gets the footer of the page.
TXTextControl.Page.Header Gets the header of the page.
TXTextControl.SaveSettings.DocumentLevelJavaScriptActions Specifies an array of strings containing Javascript.
TXTextControl.TextField.ContainsInputPosition Returns true, if the Textfield contains the current text input position.
TXTextControl.Web.TextControl.BackColor Specifies or returns the background color of the main text area and the ruler bars.
TXTextControl.Web.TextControl.ContextMenusEnabled Specifies or returns a value indicating if a right click opens a context menu or not.
TXTextControl.Web.TextControl.ControlChars Specifies if control characters are visible or not.
TXTextControl.Web.TextControl.DocumentTargetMarkers Specifies or returns a value indicating if markers for hypertext targets are shown in the editor or not.
TXTextControl.Web.TextControl.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.
TXTextControl.Web.TextControl.SaveDocumentQuestionDialogEnabled Specifies or returns a value indicating if a confirmation dialog should be shown before discarding unsaved changes.
TXTextControl.Web.TextControl.Selection Gets or sets the current selection in the text part with the input focus.
TXTextControl.Web.TextControl.StatusBarColor Specifies or returns the background color of the status bar.
TXTextControl.Web.TextControl.TableGridLines Specifies or returns a value indicating wether table grid lines are shown in the editor or not.
TXTextControl.Web.TextControl.TextFieldsEditable Gets or sets if text fields are editable or not.
TXTextControl.Web.TextControl.TextFrameMarkerLines Specifies whether text frames that have no border line are shown with marker lines.
TXTextControl.Web.TextControl.TextParts Gets a collection of all text parts the current document contains.
TXTextControl.Web.TextControl.WebSocketHandlerPath Specifies the path to the WebSocket handler (TXWebSocketHandler.ashx).
TXTextControl.WPF.TextControl.RibbonFormattingTab Specifies the name of the WPF.RibbonFormattingTab object to be used with a TextControl.
TXTextControl.WPF.TextControl.RibbonInsertTab Specifies the name of the WPF.RibbonInsertTab object to be used with a TextControl.

Methods

Method Description
TXTextControl.InputPosition.ScrollTo Scrolls the contents of a Text Control so that the current input position becomes visible.
TXTextControl.TextControl.ForeColorDialog Invokes the built-in dialog box for setting the text color.
TXTextControl.TextControl.TextBackColorDialog Invokes the built-in dialog box for setting the background color of the text.
TXTextControl.WPF.TextControl.ForeColorDialog Invokes the built-in dialog box for setting the text color.
TXTextControl.WPF.TextControl.TextBackColorDialog Invokes the built-in dialog box for setting the background color of the text.