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.TextContextMenuEventArgs The TextContextMenuEventArgs class provides data for the TextControl.TextContextMenuOpening event of a Windows Forms TextControl.
TXTextControl.TextControl.Colors The TextControl.Colors class gets, sets or resets the display colors of a Windows Forms TextControl control.

Constructors

Constructor Description
TXTextControl.AutoSize Initializes a new instance of the AutoSize class.
TXTextControl.TextControl.Colors Initializes a new instance of the TextControl.Colors class.

Events

Event Description
TXTextControl.ServerTextControl.AdaptFont Occurs for each font that must be adapted, because it is not supported.
TXTextControl.TextControl.AcceptsTabChanged Occurs when the value of the AcceptsTab property has changed.
TXTextControl.TextControl.AdaptFont Occurs for each font that must be adapted, because it is not supported.
TXTextControl.TextControl.BorderStyleChanged Occurs when the value of the BorderStyle property has changed.
TXTextControl.TextControl.HExpanded Occurs when the Text Control has automatically expanded its size horizontally.
TXTextControl.TextControl.HScroll Occurs when the horizontal scroll position has been changed.
TXTextControl.TextControl.HShrunk Occurs when the Text Control has automatically shrunk its size horizontally.
TXTextControl.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.TextControl.TextContextMenuOpening Occurs immediately before a built-in context menu will be opened.
TXTextControl.TextControl.VExpanded Occurs when the Text Control has automatically expanded its size vertically.
TXTextControl.TextControl.VScroll Occurs when the vertical scroll position has been changed.
TXTextControl.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.TextControl.ClientToDocument Computes client coordinates into document coordinates which are in twips relative to the top-left corner of the whole document.
TXTextControl.TextControl.DocumentToClient Computes coordinates in twips relative to the top-left corner of the document into client coordinates.
TXTextControl.TextControl.GetVersionInfo Returns an object of the type VersionInfo, which provides information about the installed TX Text Control version.
TXTextControl.TextControl.OnAcceptsTabChanged Raises the AcceptsTabChanged event.
TXTextControl.TextControl.OnAdaptFont Raises the AdaptFont event.
TXTextControl.TextControl.OnBorderStyleChanged Raises the BorderStyleChanged event.
TXTextControl.TextControl.OnHandleCreated Overridden.
TXTextControl.TextControl.OnHExpanded Raises the HExpanded event.
TXTextControl.TextControl.OnHScroll Raises the HScroll event.
TXTextControl.TextControl.OnHShrunk Raises the HShrunk event.
TXTextControl.TextControl.OnMainTextActivated Raises the MainTextActivated event.
TXTextControl.TextControl.OnTextContextMenuOpening Raises the TextContextMenuOpening event.
TXTextControl.TextControl.OnVExpanded Raises the VExpanded event.
TXTextControl.TextControl.OnVScroll Raises the VScroll event.
TXTextControl.TextControl.OnVShrunk Raises the VShrunk event.
TXTextControl.TextControl.ResetAutoControlSize Resets the AutoControlSize property to its default values.
TXTextControl.TextControl.ResetBackColor Overridden.
TXTextControl.TextControl.ResetCursor Overridden.
TXTextControl.TextControl.Colors.ResetActiveFormFieldColor Resets the text control's ActiveFormFieldColor to its default value.
TXTextControl.TextControl.Colors.ResetDarkShadowColor Resets the text control's DarkShadowColor to its system dependent default value.
TXTextControl.TextControl.Colors.ResetDesktopColor Resets the text control's DesktopColor to its system dependent default value.
TXTextControl.TextControl.Colors.ResetFormFieldColor Resets the text control's FormFieldColor to its default value.
TXTextControl.TextControl.Colors.ResetHeaderFooterLabelColor Resets the text control's HeaderFooterLabelColor to its system dependent default value.
TXTextControl.TextControl.Colors.ResetHeaderFooterLineColor Resets the text control's HeaderFooterLineColor to its system dependent default value.
TXTextControl.TextControl.Colors.ResetLightShadowColor Resets the text control's LightShadowColor to its system dependent default value.

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.TextContextMenuEventArgs.ContextMenuLocation Gets the location in the document for which the context menu will be opened.
TXTextControl.TextContextMenuEventArgs.Location Gets the location, in pixels, where the context menu is displayed.
TXTextControl.TextContextMenuEventArgs.TextContextMenu Gets or sets the context menu, which will be shown.
TXTextControl.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.TextControl.AllowDrag Gets or sets a value indicating whether the control can be a source of a Drag&Drop operation.
TXTextControl.TextControl.AllowDrop Overridden.
TXTextControl.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.TextControl.BackColor Overridden.
TXTextControl.TextControl.BackgroundStyle Defines the kind of view to display the page background.
TXTextControl.TextControl.BorderStyle Gets or sets the border type of the Text Control.
TXTextControl.TextControl.ControlChars Specifies if control characters are visible or not.
TXTextControl.TextControl.DialogUnit Gets or sets a value indicating the measuring unit used for sizes and distances in dialogboxes.
TXTextControl.TextControl.DisplayColors Gets or sets the colors of the text control.
TXTextControl.TextControl.DropFormats Gets or sets the formats of data the control can accept when the user drags it onto the control.
TXTextControl.TextControl.EditMode Gets or sets a value indicating whether the document's text is protected, or can be freely edited and formatted.
TXTextControl.TextControl.FontSettings Gets a FontSettings object which provides properties determining which fonts can be used in a document.
TXTextControl.TextControl.FormattingPrinter Gets or sets the name of a printer the text dimensions and capabilities of which are used to format the document.
TXTextControl.TextControl.PermanentControlChars Gets or sets a value indicating which control characters are shown permanently on the screen.
TXTextControl.TextControl.ScrollBars Gets or sets a value indicating whether a Text Control has horizontal or vertical scroll bars.
TXTextControl.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.TextControl.ViewMode Gets or sets the mode how Text Control displays a document.
TXTextControl.TextControl.Colors.ActiveFormFieldColor Gets or sets the highlight color of a form field containing the current text input position.
TXTextControl.TextControl.Colors.DarkShadowColor Gets or sets the display color for the shadow at the right and the bottom edge of the pages.
TXTextControl.TextControl.Colors.DesktopColor Gets or sets the display color for the area around the pages.
TXTextControl.TextControl.Colors.FormFieldColor Gets or sets the highlight color of a form field.
TXTextControl.TextControl.Colors.HeaderFooterLabelColor Gets or sets the display color for the label showing which header or footer is activated.
TXTextControl.TextControl.Colors.HeaderFooterLineColor Gets or sets the display color for the dividing line between headers and footers and the main text.
TXTextControl.TextControl.Colors.LightShadowColor Gets or sets the display color for the shadow at the left and the top edge of the pages.