Control Settings

Classes

Class Description
TXTextControl.AdaptFontEventArgs The AdaptFontEventArgs class provides data for the TextControl.AdaptFont, WPF.TextControl.AdaptFont and ServerTextControl.AdaptFont events.
TXTextControl.AutoSize The AutoSize class is used with the TextControl.AutoControlSize property, to enable automatic expansion or shrinking of a Text Control's width or height.
TXTextControl.FontSettings The FontSettings class provides settings determining which fonts can be used in a document.
TXTextControl.VersionInfo The VersionInfo class provides information about the running TX Text Control version, such as the version number, the installed service pack number and the product level.
TXTextControl.WPF.TextContextMenuEventArgs The WPF.TextContextMenuEventArgs class provides data for the WPF.TextControl.TextContextMenuOpening event.
TXTextControl.WPF.TextControlColors The WPF.TextControlColors class gets, sets or resets the display colors of a WPF.TextControl control.
TXTextControl.WPF.TextControlDocument An object of the WPF.TextControlDocument class represents a document and is part of the template of a WPF.TextControl.

Constructors

Constructor Description
TXTextControl.AutoSize Initializes a new instance of the AutoSize class.
TXTextControl.WPF.TextControlColors Initializes a new instance of the WPF.TextControlColors class.

Events

Event Description
TXTextControl.ServerTextControl.AdaptFont Occurs for each font that must be adapted, because it is not supported.
TXTextControl.WPF.TextControl.AdaptFont Occurs for each font that must be adapted, because it is not supported.
TXTextControl.WPF.TextControl.HExpanded Occurs when the Text Control has automatically expanded its size horizontally.
TXTextControl.WPF.TextControl.HScroll Occurs when the horizontal scroll position has been changed.
TXTextControl.WPF.TextControl.HShrunk Occurs when the Text Control has automatically shrunk its size horizontally.
TXTextControl.WPF.TextControl.MainTextActivated Occurs when the main text of the document gets the current text input position from another part of the document, such as a header, a footer or a textframe.
TXTextControl.WPF.TextControl.TextContextMenuOpening Occurs immedialtely before a built-in context menu will be opened.
TXTextControl.WPF.TextControl.VExpanded Occurs when the Text Control has automatically expanded its size vertically.
TXTextControl.WPF.TextControl.VScroll Occurs when the vertical scroll position has been changed.
TXTextControl.WPF.TextControl.VShrunk Occurs when the Text Control has automatically shrunk its size vertically.

Methods

Method Description
TXTextControl.ServerTextControl.Create Initializes the resources of a newly instantiated object.
TXTextControl.ServerTextControl.GetVersionInfo Returns an object of the type VersionInfo, which provides information about the installed TX Text Control version.
TXTextControl.ServerTextControl.OnAdaptFont Raises the AdaptFont event.
TXTextControl.ServerTextControl.ResetBackColor Resets the BackColor property to its default value.
TXTextControl.WPF.TextControl.GetVersionInfo Returns an object of the type VersionInfo, which provides information about the installed TX Text Control version.
TXTextControl.WPF.TextControl.OnAdaptFont Raises the AdaptFont event.
TXTextControl.WPF.TextControl.OnHExpanded Raises the HExpanded event.
TXTextControl.WPF.TextControl.OnHScroll Raises the HScroll event.
TXTextControl.WPF.TextControl.OnHShrunk Raises the HShrunk event.
TXTextControl.WPF.TextControl.OnMainTextActivated Raises the MainTextActivated event.
TXTextControl.WPF.TextControl.OnTextContextMenuOpening Raises the TextContextMenuOpening event.
TXTextControl.WPF.TextControl.OnVExpanded Raises the VExpanded event.
TXTextControl.WPF.TextControl.OnVScroll Raises the VScroll event.
TXTextControl.WPF.TextControl.OnVShrunk Raises the VShrunk event.
TXTextControl.WPF.TextControl.PointFromDocument Converts a Point in document coordinates, which are in twips relative to the top-left corner of the whole document, into a Point that represents the current coordinate system of the TextControl.
TXTextControl.WPF.TextControl.PointToDocument Converts a Point that represents the current coordinate system of the TextControl into a point in document coordinates, which are in twips relative to the top-left corner of the whole document.

Properties

Property Description
TXTextControl.AdaptFontEventArgs.AdaptedFontName Gets or sets the adapted font.
TXTextControl.AdaptFontEventArgs.FontName Gets the name of the original font which must be adapted.
TXTextControl.AdaptFontEventArgs.SupportedFonts Gets a list of all fonts currently supported.
TXTextControl.AutoSize.AutoExpand Gets or sets possible directions for expanding the control.
TXTextControl.AutoSize.AutoShrink Gets or sets possible directions for shrinking the control.
TXTextControl.AutoSize.MaxSize Gets or sets the maximum size, in pixels, for expanding the control.
TXTextControl.AutoSize.MinSize Gets or sets the minimum size, in pixels, for shrinking the control.
TXTextControl.FontSettings.AdaptFontEvent Specifies whether a TextControl.AdaptFont event is raised, if a font must be adapted.
TXTextControl.FontSettings.EmbeddableFontsOnly Gets or sets a value specifying that only embeddable fonts can be used in a document.
TXTextControl.FontSettings.ScalableFontsOnly Gets or sets a value specifying that only free scalable fonts can be used in a document.
TXTextControl.FontSettings.TrueTypeFontsOnly Gets or sets a value specifying that only TrueType and OpenType fonts can be used in a document.
TXTextControl.ServerTextControl.BackColor Gets or sets the background color of the control.
TXTextControl.ServerTextControl.FontSettings Gets a FontSettings object which provides properties determining which fonts can be used in a document.
TXTextControl.ServerTextControl.FormattingPrinter Gets or sets the name of a printer the text dimensions and capabilities of which are used to format the document.
TXTextControl.ServerTextControl.IsCreated Gets a value indicating whether the control is completely created.
TXTextControl.VersionInfo.Major Gets the major version number.
TXTextControl.VersionInfo.Minor Gets the minor version number.
TXTextControl.VersionInfo.ServicePack Gets the number of the installed service pack.
TXTextControl.VersionInfo.ProductLevel Gets the installed product level.
TXTextControl.WPF.TextContextMenuEventArgs.ContextMenuLocation Gets the location in the document for which the context menu will be opened.
TXTextControl.WPF.TextContextMenuEventArgs.HorizontalOffset Gets the horizontal distance between the top-left corner of the screen and the location where the menu is displayed.
TXTextControl.WPF.TextContextMenuEventArgs.TextContextMenu Gets or sets the context menu, which will be shown.
TXTextControl.WPF.TextContextMenuEventArgs.VerticalOffset Gets the vertical distance between the top-left corner of the screen and the location where the menu is displayed.
TXTextControl.WPF.TextControl.AcceptsTab Gets or sets a value indicating whether pressing the TAB key types a TAB character in the control instead of moving the focus to the next control in the tab order.
TXTextControl.WPF.TextControl.AllowDrag Gets or sets a value indicating whether the control can be a source of a Drag&Drop operation.
TXTextControl.WPF.TextControl.AllowDrop Inherited from System.Windows.UIElement.
TXTextControl.WPF.TextControl.AutoControlSize Gets or sets values that enable automatic expansion or shrinking of a Text Control's width or height depending on the currently contained text.
TXTextControl.WPF.TextControl.BorderThickness Gets or sets the border thickness of the Text Control.
TXTextControl.WPF.TextControl.ControlChars Specifies if control characters are visible or not.
TXTextControl.WPF.TextControl.DialogUnit Gets or sets a value indicating the measuring unit used for sizes and distances in dialogboxes.
TXTextControl.WPF.TextControl.DisplayColors Gets or sets the colors of the text control.
TXTextControl.WPF.TextControl.DropFormats Gets or sets the formats of data the control can accept when the user drags it onto the control.
TXTextControl.WPF.TextControl.EditMode Gets or sets a value indicating whether text in the Text Control is read-only, can be selected or is editable.
TXTextControl.WPF.TextControl.FontSettings Gets a FontSettings object which provides properties determining which fonts can be used in a document.
TXTextControl.WPF.TextControl.FormattingPrinter Gets or sets the name of a printer the text dimensions and capabilities of which are used to format the document.
TXTextControl.WPF.TextControl.HorizontalScrollBarVisibility Gets or sets a value that indicates whether a horizontal scroll bar is shown.
TXTextControl.WPF.TextControl.IsTabStop Gets or sets a value that indicates whether a text control is included in tab navigation.
TXTextControl.WPF.TextControl.PermanentControlChars Gets or sets a value indicating which control characters are shown permanently on the screen.
TXTextControl.WPF.TextControl.ScrollLocation Gets or sets the coordinates, in twips, of the upper-left corner of the document's visible part relative to the upper-left corner of the complete document.
TXTextControl.WPF.TextControl.TabIndex Gets or sets the tab index of the text control.
TXTextControl.WPF.TextControl.VerticalScrollBarVisibility Gets or sets a value that indicates whether a vertical scroll bar is shown.
TXTextControl.WPF.TextControl.ViewMode Gets or sets the mode how Text Control displays a document.
TXTextControl.WPF.TextControlColors.ActiveFormFieldColor Gets or sets the highlight color of a form field containing the current text input position.
TXTextControl.WPF.TextControlColors.DarkShadowColor Gets or sets the display color for the shadow at the right and the bottom edge of the pages.
TXTextControl.WPF.TextControlColors.DesktopColor Gets or sets the display color for the area around the pages.
TXTextControl.WPF.TextControlColors.FormFieldColor Gets or sets the highlight color of a form field.
TXTextControl.WPF.TextControlColors.HeaderFooterLabelColor Gets or sets the display color for the label showing which header or footer is activated.
TXTextControl.WPF.TextControlColors.HeaderFooterLineColor Gets or sets the display color for the dividing line between headers and footers and the main text.
TXTextControl.WPF.TextControlColors.LightShadowColor Gets or sets the display color for the shadow at the left and the top edge of the pages.
TXTextControl.WPF.TextControlColors.PageBackColor Gets or sets the display color for the page background.
TXTextControl.WPF.TextControlColors.TextBackColor Gets or sets the background color for the text.
TXTextControl.WPF.TextControlColors.TextColor Gets or sets the color for the text.