TextControl Class
- Namespace
TXTextControl.WPF
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.WPF. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.WPF. dll
- Inherits
- Control
- Text
Control
- Implements
- INotify
Property , IFormattedChanged Text
Description
The WPF.TextControl class class implements a control with high-level text editing features. It is inherited from the System.Windows.Controls.Control class. The following describes only the properties, methods and events defined through this class. For a list of inherited properties, methods and events see the .NET Framework reference. The WPF.TextControl class implements the IFormattedText interface.
Syntax
public class TextControl : Control, INotifyPropertyChanged, IFormattedTextPublic Class TextControl
Inherits Control
Implements INotifyPropertyChanged, IFormattedTextExamples
The following example creates a Text Control instance and configures its accepts tab setting for a document workflow.
TXTextControl.WPF.TextControl textControl = new();
textControl.AcceptsTab = true;Dim textControl As New TXTextControl.WPF.TextControl()
textControl.AcceptsTab = TrueMembers
Constructors
| Constructor | Description |
|---|---|
| TextControl | Initializes a new instance of the WPF.TextControl class. |
Properties
| Property | Description |
|---|---|
| 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. This is a dependency property. |
| AllowDrag | Gets or sets a value indicating whether the control can be a source of a Drag&Drop operation. To allow the control to accept data that the user drags onto it, the AllowDrop property must be set to true. |
| AllowDrop | Inherited from System.Windows.UIElement. Gets or sets a value indicating whether the control can accept data that the user drags onto it. This property allows the control to be a target for drop operations. To allow the control to be a source of a Drag&Drop operation the AllowDrag property must be set to true. The DropFormats property determines which formats the control accepts automatically. |
| ApplicationFields | Gets a collection of all application fields contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. Application fields are Microsoft Word or Heiler HighEdit fields that have been created or imported from a Microsoft Word or RTF document. The property value is an object of the type ApplicationFieldCollection. Before loading a document the LoadSettings.ApplicationFieldFormat property must be set, otherwise this collection is empty. The collection contains the fields of the text part with the input focus. This can be the main text, a text frame or a header or footer. |
| 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. These features are only possible, if the ViewMode property has been set to SimpleControl. The property value is an object of the type AutoSize. |
| Barcodes | Gets a collection of all barcodes contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property value is an object of the type DataVisualization.BarcodeCollection. The collection can be used to get or to alter a barcode's attributes and to add barcodes to or to remove barcodes from a document. |
| Baseline | Gets or sets the baseline alignment, in twips, of the Text Control. Positive values moves the baseline to superscript, negative values moves the baseline to subscript. |
| BorderThickness | Gets or sets the border thickness of the Text Control. Four double values, in device-independent units (1/96th inch), describe the left, top, right, and bottom sides of the border, respectively. If only a single measure is specified, that measure is applied to all of the left, top, right, bottom values of a Thickness. If only a pair of left,top measures are specified, these measures are applied symmetrically to a Thickness: the left value is used for right; the top value is used for bottom. This is a dependency property. |
| ButtonBar | Specifies the button bar control to be used with a TextControl. The property value is an empty string, if there is no button bar connected. Otherwise it must be the name of an existing WPF.ButtonBar object. |
| CanCharacterFormat | Informs whether the currently selected text can be formatted with character formatting attributes. The property's value depends on the DocumentPermissions.AllowFormatting property and the currently set edit mode. |
| CanCopy | Informs whether a part of a Text Control document has been selected and can be copied to the clipboard. The property's value also depends on the DocumentPermissions.AllowCopy property and the currently set edit mode. |
| CanDocumentFormat | Informs whether the document can be formatted with page and section formatting attributes. The property's value depends on the DocumentPermissions.AllowFormatting property and the currently set edit mode. |
| CanEdit | Informs whether the document's text and/or formatting attributes can be changed. The property's value depends on the DocumentPermissions.ReadOnly property and the currently set edit mode. |
| CanEditFormFields | Informs whether form fields can be edited. The property's value depends on the DocumentPermissions.AllowEditingFormFields property and the currently set edit mode. |
| CanParagraphFormat | Informs whether the currently selected text can be formatted with paragraph formatting attributes. The property's value depends on the DocumentPermissions.AllowFormatting property and the currently set edit mode. |
| CanPaste | Informs whether the clipboard contains a format that can be pasted into a Text Control document. The property's value also depends on the DocumentPermissions.ReadOnly property and the currently set edit mode. |
| CanPrint | Informs whether the document can be printed. The property's value depends on the DocumentPermissions.AllowPrinting property and the currently set edit mode. |
| CanRedo | Informs whether an operation can be re-done using the Redo method. |
| CanStyleFormat | Informs whether the document can be formatted with formatting styles. The property's value depends on the DocumentPermissions.AllowFormattingStyles property and the currently set edit mode. |
| CanTableFormat | Informs whether the currently selected text can be formatted with table formatting attributes. The property's value depends on the DocumentPermissions.AllowFormatting property and the currently set edit mode. |
| CanUndo | Gets a value indicating whether the user can undo the previous operation in a Text Control. |
| CaretWidth | Gets or sets the width of the caret in pixels. If this property is zero, the width is set to its default value which is the system-defined window border width. |
| CommentHighlightMode | Gets or sets a value indicating whether all the commented texts in the document are highlighted. |
| Comments | Gets a collection of all comments contained in the text part with the input focus. The property's value is an object of the type CommentCollection. |
| ControlChars | Specifies if control characters are visible or not. This is a dependency property. |
| DefaultFormattingPrinter | Not described in the reference. public static string DefaultFormattingPrinter { get; set; } |
| DialogUnit | Gets or sets a value indicating the measuring unit used for sizes and distances in dialogboxes. |
| DisplayColors | Gets or sets the colors of the text control. The property value is an object of the type WPF.TextControlColors. |
| DocumentLinks | Gets a collection of all document links contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. Document links point to targets in the same document. The property value is an object of the type DocumentLinkCollection. |
| DocumentPermissions | Gets a DocumentPermissions object which provides properties determining how a document can be edited and formatted when the EditMode property is set to EditMode.ReadAndSelect. |
| DocumentSettings | Gets a DocumentSettings object providing properties which inform about general document settings, such as author and title, contained in the document the user is currently working on. When a document is loaded this object is filled with such information and all values are automatically stored when the document is saved. |
| DocumentTargetMarkers | Gets or sets a value indicating that markers for hypertext targets are shown or not. This is a dependency property. |
| DocumentTargets | Gets a collection of all targets contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property value is an object of the type DocumentTargetCollection. |
| DrawingMarkerLines | Specifies whether a marker frame is shown around a drawing to indicate its position and size. This is a dependency property. |
| Drawings | Gets a collection of all drawings contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property value is an object of the type DataVisualization.DrawingCollection. The collection can be used to get or to alter a drawing's attributes and to add drawings to or to remove drawings from a document. |
| DropFormats | Gets or sets the formats of data the control can accept when the user drags it onto the control. The property's value can be a bitwise OR combination of the values listed below. The bitwise AND operator can be used to test for a given format. |
| EditableRegionHighlightMode | Gets or sets a value indicating whether all the editable regions in the document are highlighted. The value of this property is only used if the highlight mode of a certain editable region is set to HighlightMode.Auto. |
| EditableRegions | Gets a collection of all editable regions contained in the document. The property's value is an object of the type EditableRegionCollection. |
| EditMode | Gets or sets a value indicating whether text in the Text Control is read-only, can be selected or is editable. |
| EntryAssembly | Sets main project assembly which licenses a WPF.TextControl. By default, this is the application's executable assembly. |
| FieldCursor | Gets or sets the cursor that is displayed when the mouse pointer is over a marked text field. |
| FontFamily | Gets or sets the font family of the text control. This is a dependency property. The property value has the type System.Windows.Media.FontFamily. |
| FontSettings | Gets a FontSettings object which provides properties determining which fonts can be used in a document. |
| FontSize | Gets or sets the font size of the text control in device-independent units (1/96th inch). This is a dependency property. |
| FontStyle | Gets or sets the font style of the text control. This is a dependency property. The property value has the type System.Windows.FontStyle. The default value is FontStyles.Normal. |
| FontUnderlineStyle | Gets or sets the underlining style for the text displayed by the control. |
| FontWeight | Gets or sets the weight or thickness of the text control's font. This is a dependency property. The property value has the type System.Windows.FontWeight. The default value is FontWeights.Normal. |
| Footnotes | Gets a collection of all footnotes contained in the main text of the document. The property value is an object of the type FootnoteCollection. |
| FormattingPrinter | 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. |
| FormFields | Gets a collection of all form fields contained in the document. The property's value is an object of the type FormFieldCollection. |
| FormulaReferenceStyle | Gets or sets a value determining how references to table cells in formulas are specified. Supported are the A1 and the R1C1 notation. The A1 notation specifies a table cell with a column letter and a row number, for example B3 refers to the table cell in the third row and the second column. The R1C1 notation addresses a table cell with a row number and a column number, for example R3C2 refers to the table cell in the third row and the second column. Relative addresses can be expressed with square brackets. R[-3]C[-2]. The numbers inside the square brackets show how many rows or columns the cell is relative to itself. Negative row numbers mean that the referenced cell is above the cell containing the formula. Negative column numbers mean that the referenced cell is to the left of the cell containing the formula. |
| Frames | Gets a collection of all images, textframes, barcodes and drawings contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property value is an object of the type FrameCollection. The collection can be used to get or to alter attributes common to all frames. |
| HeaderFooterActivationStyle | Gets or sets a value specifying the activation style for headers and footers. |
| HeaderFooterFrameStyle | Gets or sets a value specifying the frame for activated headers and footers. |
| HeadersAndFooters | Gets a collection of all headers and footers the current document contains. The property's value is an object of the type HeaderFooterCollection. |
| HideSelection | Gets or sets a value indicating whether the selected text in the Text Control remains highlighted when the control loses focus. |
| HorizontalScrollBarVisibility | Gets or sets a value that indicates whether a horizontal scroll bar is shown. The property's value is of the type System.Windows.Controls.ScrollBarVisibility. This is a dependency property. |
| HypertextLinks | Gets a collection of all hypertext links contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type HypertextLinkCollection. |
| Images | Gets a collection of all images contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type ImageCollection. |
| InlineStyles | Gets a collection of all inline styles the current document contains. The property's value is an object of the type InlineStyleCollection. |
| InputFormat | Gets an object of the type InputFormat which represents all formatting attributes at the current text input position. |
| InputPosition | Gets or sets the current text input position. The property's value is an object of the type InputPosition. |
| InsertionMode | Specifies whether text is inserted or overwrites existing text. |
| IsFormFieldValidationEnabled | Gets or sets a value indicating whether Conditional Instructions are applied to form fields when the EditMode property is set to EditMode.ReadAndSelect and TextControl.DocumentPermissions.ReadOnly to true. The default value is false. |
| IsFormulaCalculationEnabled | Gets or sets a value indicating whether formulas in tables are automatically calculated when the text of an input cell is changed. |
| IsHyphenationEnabled | Gets or sets a value indicating whether hyphenation is active or not. If hyphenation is enabled, a word at the end of a line is automatically divided with a connected spell checking component. A spell checking component can be connected with the SpellChecker property. Additionally, the WPF.TextControl.HyphenateWord event is raised with the calculated divide position. This position can be changed through a connected event handler. |
| IsLanguageDetectionEnabled | Gets or sets a value indicating whether language detection is active or not. If language detection is enabled, a language is automatically set for all pieces of text with a neutral language. To use this feature, at least the TXSpell 5.0 spell checking component must be connected with the WPF.TextControl through the SpellChecker property. |
| IsSpellCheckingEnabled | Gets or sets a value indicating whether spell checking is active or not. If spell checking is enabled the WPF.TextControl.SpellCheckText event is raised when the text of a document changes. The event handler can be used to check the text on misspelled words. |
| IsTabStop | Gets or sets a value that indicates whether a text control is included in tab navigation. This is a dependency property. |
| IsTrackChangesEnabled | Gets or sets a value indicating whether track changes is active or not. When this property is true, new changes made to the document are marked up. When this property is false, a TextControl stops marking up new changes. Any changes that were already tracked remain marked up in the document until they were removed. |
| IsUndoEnabled | Gets or sets a value indicating whether the undo buffer is active or not. If a Text Control is used for tasks like generating reports it can be useful to deactivate the undo buffer to save time and memory. This is a dependency property. |
| Landscape | Gets or sets a value indicating whether the page orientation is landscape or portrait. |
| Lines | Gets a collection of all lines contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type LineCollection. |
| ListFormat | Gets or sets the type and the formatting attributes of a bulleted or numbered list. The property value is an object of the type ListFormat. For more information see the description of the ListFormat class. |
| MisspelledWords | Gets a collection of all misspelled words contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type MisspelledWordCollection. |
| PageMargins | Gets or sets the margins for the pages of the current document. The measure depends on the WPF.TextControl.PageUnit property. The default measure is device-independent units (1/96th inch). The property value is an object of the type PageMargins. For more information see the description of the PageMargins class. |
| Pages | Gets the number of pages contained in the current document. |
| PageSize | Specifies the width and height of the pages for the current document. The measure depends on the WPF.TextControl.PageUnit property. The default measure is device-independent units (1/96th inch). The property value is an object of the type PageSize. For more information see the description of the PageSize class. |
| PageUnit | Gets or sets the measure used for page sizes and page margins. |
| ParagraphFormat | Gets or sets the paragraph formatting attributes of the text displayed by the control. The property value is an object of the type ParagraphFormat. For more information see the description of the ParagraphFormat class. |
| Paragraphs | Gets a collection of all paragraphs contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type ParagraphCollection. |
| ParagraphStyles | Gets a collection of all paragraph styles the current document contains. The property's value is an object of the type ParagraphStyleCollection. |
| PermanentControlChars | Gets or sets a value indicating which control characters are shown permanently on the screen. The property's value can be a bitwise OR combination of the PermanentControlChar enumeration. The bitwise AND operator can be used to test for a given value. |
| RedoActionName | Gets a string that represents the name of the action that will be performed when a call to the Redo method is made. The property's value is null if there is no action that can be redone. |
| RibbonFormattingTab | Specifies the name of the WPF.RibbonFormattingTab object to be used with a TextControl. The elements of the ribbon tab can be used to alter character and paragraph attributes. The property value is an empty string, if there is no ribbon tab connected. |
| RibbonFormFieldsTab | Specifies the name of the WPF.RibbonFormFieldsTab object to be used with a TextControl. The elements of the ribbon tab can be used to edit form fields. The property value is an empty string, if there is no ribbon tab connected. |
| RibbonFormulaTab | Specifies the name of the WPF.RibbonFormulaTab object to be used with a TextControl. The elements of the ribbon tab can be used to edit formulas in table cells. The property value is an empty string, if there is no ribbon tab connected. |
| RibbonFrameLayoutTab | Specifies the name of the WPF.RibbonFrameLayoutTab object to be used with a TextControl. The elements of the ribbon tab can be used to alter attributes of images, text frames, barcodes and drawings. The property value is an empty string, if there is no ribbon tab connected. |
| RibbonInsertTab | Specifies the name of the WPF.RibbonInsertTab object to be used with a TextControl. The parts of the ribbon tab can be used to insert elements such as illustrations, tables, text frames, hyperlinks and headers and footers. The property value is an empty string, if there is no ribbon tab connected. |
| RibbonPageLayoutTab | Specifies the name of the WPF.RibbonPageLayoutTab object to be used with a TextControl. The elements of the ribbon tab can be used to set page formatting attributes such as margins, page size, columns and document frames. The property value is an empty string, if there is no ribbon tab connected. |
| RibbonPermissionsTab | Specifies the name of the WPF.RibbonPermissionsTab object to be used with a TextControl. The elements of the ribbon tab can be used for determining how the document can be edited, when it is enforced to be protected. The property value is an empty string, if there is no ribbon tab connected. |
| RibbonProofingTab | Specifies the name of the WPF.RibbonProofingTab object to be used with a TextControl. The elements of the ribbon tab can be used to check spelling and hyphenation. The property value is an empty string, if there is no ribbon tab connected. |
| RibbonReferencesTab | Specifies the name of the WPF.RibbonReferencesTab object to be used with a TextControl. The elements of the ribbon tab can be used to edit form fields. The property value is an empty string, if there is no ribbon tab connected. |
| RibbonReportingTab | Specifies the name of the WPF.RibbonReportingTab object to be used with a TextControl. The elements of the ribbon tab can be used to integrate mail merge and reporting functionality. The property value is an empty string, if there is no ribbon tab connected. |
| RibbonTableLayoutTab | Specifies the name of the WPF.RibbonTableLayoutTab object to be used with a TextControl. The elements of the ribbon tab can be used to set the attributes and the layout of a table. The property value is an empty string, if there is no ribbon tab connected. |
| RibbonViewTab | Specifies the name of the WPF.RibbonViewTab object to be used with a TextControl. The elements of the ribbon tab can be used to alter the document's view. The property value is an empty string, if there is no ribbon tab connected. |
| RulerBar | Specifies the horizontal ruler bar control to be used with a TextControl. The property value is an empty string, if there is no ruler bar connected. Otherwise it must be the name of an existing WPF.RulerBar object. |
| 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. |
| Sections | Gets a collection of all sections in the document. The property's value is an object of the type SectionCollection. |
| Selection | Gets or sets the current selection in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property value is an object of the type Selection. A selection can be used to assign character and paragraph formatting attributes to a piece of text. |
| SelectionViewMode | Specifies whether text selections are displayed with a transparent bitmap or through inverting the text. |
| SelectObjects | Gets or sets a value controlling the selection of objects which are inserted behind the text. When the property is set to true, a mouse click selects the object behind the text. Otherwise, when this property is set to false, text in front of the object can be selected. |
| ShowMiniToolbar | Gets or sets a value indicating whether a mini-toolbar is shown. A mini-toolbar is a small popup window with formatting options for the current context of the document. The bitwise or operator can be used to combine the values listed below. |
| SignatureFields | Gets a collection of all signature fields contained in the main text of the document. The property value is an object of the type SignatureFieldCollection. |
| SpellCheckContextMenu | Specifies the context menu which is used when the end-user right-clicks a misspelled word. A context menu is only available when a spell checking component has been connected with the SpellChecker property. |
| SpellChecker | Specifies the spell checking component to be used with a TextControl. The property value must be the key of a resource added to the Resources dictionary of a TextControl or a parent of a TextControl in the logical element tree of the application. The resource key must be a string. Specifying an empty string, a connected spellchecker can be disconnected. When a spell checking component is connected and the IsSpellCheckingEnabled property has been set to true, misspelled words are automatically underlined with a red zigzag line. The SpellCheckDialog method can be used to correct the misspelled words contained in the document. When a spell checking component is connected and the IsHyphenationEnabled property has been set to true, a document is automatically hyphenated. If the IsLanguageDetectionEnabled property has been set to true, a language is automatically detected for all text parts with a neutral language. |
| StatusBar | Specifies the status bar control to be used with a TextControl. The property value is an empty string, if there is no status bar connected. Otherwise it must be the name of an existing WPF.StatusBar object. |
| SubTextParts | Gets a collection of all subtextparts contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type SubTextPartCollection. |
| TabIndex | Gets or sets the tab index of the text control. |
| Tables | Gets a collection of all tables contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type TableCollection. |
| TablesOfContents | Gets a collection of all tables of contents in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type TableOfContentsCollection. |
| Text | Gets or sets the text contents of the text control. |
| TextChars | Gets a collection of all characters contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type TextCharCollection. |
| TextFields | Gets a collection of all standard text fields contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type TextFieldCollection. |
| TextFrameMarkerLines | Specifies whether text frames that have no border line are shown with marker lines. This is a dependency property. |
| TextFrames | Gets a collection of all text frames contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type TextFrameCollection. If a text frame contains further text frames, the inner frames are not contained in this collection. |
| TextParts | Gets a collection of all main text parts the current document contains. The property's value is an object of the type TextPartCollection. The main text parts are the main text, text frames and headers and footers. |
| TrackedChanges | Gets a collection of all changes made in the active part of the document. The property's value is an object of the type TrackedChangeCollection. |
| UndoActionName | Gets a string that represents the name of the action that will be performed when a call to the Undo method is made. The property's value is null if there is no action that can be undone. |
| UserNames | 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. |
| VerticalRulerBar | Specifies the vertical ruler bar control to be used with a TextControl. The property value is an empty string, if there is no ruler bar connected. Otherwise it must be the name of an existing WPF.RulerBar object. |
| VerticalScrollBarVisibility | Gets or sets a value that indicates whether a vertical scroll bar is shown. The property's value is of the type System.Windows.Controls.ScrollBarVisibility. This is a dependency property. |
| ViewMode | Gets or sets the mode how Text Control displays a document. |
| XmlEditMode | Gets or sets a value specifying whether Text Control operates in an edit mode that validates the XML document according to the document's DTD. |
| ZoomFactor | Gets or sets the zoom factor, in percent, for a Text Control. This is a dependency property. |
Methods
| Method | Description |
|---|---|
| AddSymbolDialog | Invokes a built-in dialog box for inserting symbol characters. |
| Append | Loads text in a certain format from a file, a byte array or a string and appends it to the existing document. |
| BarcodeLayoutDialog | Invokes the built-in dialog box for alter the layout settings, the size and the text distances of a barcode. This dialog can only be invoked, if a barcode has been selected. |
| BeginUndoAction | Begins a user-defined undo operation. All editing and fomatting changes made between BeginUndoAction and EndUndoAction belong to the undo operation. These changes are undone or redone in a single step. The specified user-defined name is available with the UndoActionName property. |
| Clear | Clears the selected text or the character right from the current input position from the Text Control. |
| ClearUndo | Clears the undo buffer of the Text Control. |
| ConditionalInstructionDialog | Opens a dialog box to create or edit a Conditional Instruction. |
| Copy | Copies the current selection in the Text Control to the Clipboard. |
| Cut | Moves the current selection in the Text Control to the Clipboard. |
| DrawingLayoutDialog | Invokes the built-in dialog box for alter the layout settings, the size and the text distances of a drawing. This dialog can only be invoked, if a drawing has been selected. |
| EndUndoAction | Ends a user-defined undo operation. All editing and fomatting changes made between BeginUndoAction and EndUndoAction belong to the undo operation. These changes are undone or redone in a single step. |
| Find | Finds a text string in the text part with the input focus. This can be the main text, a text frame or a header or footer. |
| FontDialog | Invokes the built-in dialog box for setting fonts and character attributes. |
| ForeColorDialog | Invokes the built-in dialog box for setting the text color. |
| FormattingStylesDialog | Invokes the built-in dialog box for creating, deleting and modifying formatting styles. |
| FrameFillColorDialog | Invokes the built-in dialog box for choosing a color for the background of a paragraph or a table cell. |
| FrameLineColorDialog | Invokes the built-in dialog box for choosing a color for the frame of a paragraph or a table. |
| GetClipboardFormats | Returns an array of ClipboardFormat values. These values specify all the data formats which are currently available in the clipboard and which can be pasted into a document. If there is no data format available, this method returns null. |
| GetPages | Gets a collection of all pages in the document. The property's value is an object of the type PageCollection. This collection is only available, if the property has been set to ViewMode.PageView. Otherwise, the method returns null. |
| GetSupportedFonts | Gets an array of strings specifying the names of all currently supported fonts. These fonts depend on the formatting device set with the WPF.TextControl.FormattingPrinter property. The method returns null if the WPF.TextControl has not been completely initialized. |
| GetSupportedPaperSizes | Gets an array of PaperSize structures specifying the names and the size of all currently supported paper sizes. These paper sizes depend on the formatting device set with the WPF.TextControl.FormattingPrinter property. |
| GetTextFields | Returns a collection containing text fields of the specified types. |
| GetVersionInfo | Returns an object of the type VersionInfo, which provides information about the installed TX Text Control version. |
| GetXmlElements | Returns a collection of XML elements. It is an object of the type XmlElementCollection. |
| ImageAttributesDialog | Invokes the built-in dialog box for setting attributes of images. This dialog box is only shown, if an image is currently selected. The ImageCollection.GetItem method can be used to test whether an image is selected or not. |
| LanguageDialog | Invokes the built-in dialog box for setting the language of the selected text. |
| ListFormatDialog | Invokes the built-in dialog box for setting formatting attributes of bulleted and numbered lists. |
| Load | Loads text in a certain format. The complete contents of a Text Control are replaced. |
| ManageConditionalInstructionsDialog | Opens a dialog box to add, edit or delete Conditional Instructions inside the document. |
| OnAdaptFont | Raises the AdaptFont event. |
| OnBarcodeClicked | Raises the BarcodeClicked event. |
| OnBarcodeCreated | Raises the BarcodeCreated event. |
| OnBarcodeDeleted | Raises the BarcodeDeleted event. |
| OnBarcodeDeselected | Raises the BarcodeDeselected event. |
| OnBarcodeDoubleClicked | Raises the BarcodeDoubleClicked event. |
| OnBarcodeMoved | Raises the BarcodeMoved event. |
| OnBarcodeRightClicked | Raises the BarcodeRightClicked event. |
| OnBarcodeSelected | Raises the BarcodeSelected event. |
| OnBarcodeSized | Raises the BarcodeSized event. |
| OnCannotTrackChange | Raises the CannotTrackChange event. |
| OnChanged | Raises the Changed event. |
| OnCharFormatChanged | Raises the CharFormatChanged event. |
| OnCommentChanged | Raises the CommentChanged event. |
| OnCommentCreated | Raises the CommentCreated event. |
| OnCommentDeleted | Raises the CommentDeleted event. |
| OnCommentedTextEntered | Raises the CommentedTextEntered event. |
| OnCommentedTextLeft | Raises the CommentedTextLeft event. |
| OnCommentStateChanged | Raises the CommentStateChanged event. |
| OnContentsReset | Raises the ContentsReset event. |
| OnDocumentLinkClicked | Raises the DocumentLinkClicked event. |
| OnDocumentLoaded | Raises the DocumentLoaded event. |
| OnDocumentTargetCreated | Raises the DocumentTargetCreated event. |
| OnDocumentTargetDeleted | Raises the DocumentTargetDeleted event. |
| OnDrawingActivated | Raises the DrawingActivated event. |
| OnDrawingClicked | Raises the DrawingClicked event. |
| OnDrawingCreated | Raises the DrawingCreated event. |
| OnDrawingDeactivated | Raises the DrawingDeactivated event. |
| OnDrawingDeleted | Raises the DrawingDeleted event. |
| OnDrawingDeselected | Raises the DrawingDeselected event. |
| OnDrawingDoubleClicked | Raises the DrawingDoubleClicked event. |
| OnDrawingMoved | Raises the DrawingMoved event. |
| OnDrawingRightClicked | Raises the DrawingRightClicked event. |
| OnDrawingSelected | Raises the DrawingSelected event. |
| OnDrawingSized | Raises the DrawingSized event. |
| OnEditableRegionCreated | Raises the EditableRegionCreated event. |
| OnEditableRegionDeleted | Raises the EditableRegionDeleted event. |
| OnEditableRegionEntered | Raises the EditableRegionEntered event. |
| OnEditableRegionLeft | Raises the EditableRegionLeft event. |
| OnFootnoteCreated | Raises the FootnoteCreated event. |
| OnFootnoteDeleted | Raises the FootnoteDeleted event. |
| OnFootnoteReferenceMarkEntered | Raises the FootnoteReferenceMarkEntered event. |
| OnFootnoteReferenceMarkLeft | Raises the FootnoteReferenceMarkLeft event. |
| OnFootnoteSectionActivated | Raises the FootnoteSectionActivated event. |
| OnFootnoteSectionDeactivated | Raises the FootnoteSectionDeactivated event. |
| OnFormattingStyleChanged | Raises the FormattingStyleChanged event. |
| OnFormattingStyleListChanged | Raises the FormattingStyleListChanged event. |
| OnFormFieldCheckChanged | Raises the FormFieldCheckChanged event. |
| OnFormFieldDateChanged | Raises the FormFieldDateChanged event. |
| OnFormFieldSelectionChanged | Raises the FormFieldSelectionChanged event. |
| OnFormFieldSettingsChanged | Raises the FormFieldSettingsChanged event. |
| OnFormFieldTextChanged | Raises the FormFieldTextChanged event. |
| OnFrameClicked | Raises the FrameClicked event. |
| OnFrameDeselected | Raises the FrameDeselected event. |
| OnFrameDoubleClicked | Raises the FrameDoubleClicked event. |
| OnFrameLayoutChanged | Raises the FrameLayoutChanged event. |
| OnFrameMoved | Raises the FrameMoved event. |
| OnFrameRightClicked | Raises the FrameRightClicked event. |
| OnFrameSelected | Raises the FrameSelected event. |
| OnFrameSized | Raises the FrameSized event. |
| OnHeaderFooterActivated | Raises the HeaderFooterActivated event. |
| OnHeaderFooterDeactivated | Raises the HeaderFooterDeactivated event. |
| OnHExpanded | Raises the HExpanded event. |
| OnHScroll | Raises the HScroll event. |
| OnHShrunk | Raises the HShrunk event. |
| OnHypertextLinkClicked | Raises the HypertextLinkClicked event. |
| OnHyphenateWord | Raises the HyphenateWord event. |
| OnImageClicked | Raises the ImageClicked event. |
| OnImageCreated | Raises the ImageCreated event. |
| OnImageDeleted | Raises the ImageDeleted event. |
| OnImageDeselected | Raises the ImageDeselected event. |
| OnImageDoubleClicked | Raises the ImageDoubleClicked event. |
| OnImageMoved | Raises the ImageMoved event. |
| OnImageRightClicked | Raises the ImageRightClicked event. |
| OnImageSelected | Raises the ImageSelected event. |
| OnImageSized | Raises the ImageSized event. |
| OnInputFormattingStyleChanged | Raises the InputFormattingStyleChanged event. |
| OnInputParagraphChanged | Raises the InputParagraphChanged event. |
| OnInputPositionChanged | Raises the InputPositionChanged event. |
| OnMainTextActivated | Raises the MainTextActivated event. |
| OnMiniToolbarOpening | Raises the MiniToolbarOpening event. |
| OnObjectMiniToolbarInitialized | Raises the ObjectMiniToolbarInitialized event. |
| OnPageChanged | Raises the PageChanged event. |
| OnPageFormatChanged | Raises the PageFormatChanged event. |
| OnParagraphFormatChanged | Raises the ParagraphFormatChanged event. |
| OnSectionChanged | Raises the SectionChanged event. |
| OnSignatureFieldClicked | Raises the SignatureFieldClicked event. |
| OnSignatureFieldCreated | Raises the SignatureFieldCreated event. |
| OnSignatureFieldDeleted | Raises the SignatureFieldDeleted event. |
| OnSignatureFieldDeselected | Raises the SignatureFieldDeselected event. |
| OnSignatureFieldSelected | Raises the SignatureFieldSelected event. |
| OnSpellCheckText | Raises the SpellCheckText event. |
| OnSubTextPartClicked | Raises the SubTextPartClicked event. |
| OnSubTextPartCreated | Raises the SubTextPartCreated event. |
| OnSubTextPartDeleted | Raises the SubTextPartDeleted event. |
| OnSubTextPartDoubleClicked | Raises the SubTextPartDoubleClicked event. |
| OnSubTextPartEntered | Raises the SubTextPartEntered event. |
| OnSubTextPartLeft | Raises the SubTextPartLeft event. |
| OnTableCreated | Raises the TableCreated event. |
| OnTableDeleted | Raises the TableDeleted event. |
| OnTableFormatChanged | Raises the TableFormatChanged event. |
| OnTableOfContentsCreated | Raises the TableOfContentsCreated event. |
| OnTableOfContentsDeleted | Raises the TableOfContentsDeleted event. |
| OnTableOfContentsEntered | Raises the TableOfContentsEntered event. |
| OnTableOfContentsLeft | Raises the TableOfContentsLeft event. |
| OnTextContextMenuOpening | Raises the TextContextMenuOpening event. |
| OnTextFieldChanged | Raises the TextFieldChanged event. |
| OnTextFieldClicked | Raises the TextFieldClicked event. |
| OnTextFieldCreated | Raises the TextFieldCreated event. |
| OnTextFieldDeleted | Raises the TextFieldDeleted event. |
| OnTextFieldDoubleClicked | Raises the TextFieldDoubleClicked event. |
| OnTextFieldEntered | Raises the TextFieldEntered event. |
| OnTextFieldLeft | Raises the TextFieldLeft event. |
| OnTextFrameActivated | Raises the TextFrameActivated event. |
| OnTextFrameAppearanceChanged | Raises the TextFrameAppearanceChanged event. |
| OnTextFrameClicked | Raises the TextFrameClicked event. |
| OnTextFrameCreated | Raises the TextFrameCreated event. |
| OnTextFrameDeactivated | Raises the TextFrameDeactivated event. |
| OnTextFrameDeleted | Raises the TextFrameDeleted event. |
| OnTextFrameDeselected | Raises the TextFrameDeselected event. |
| OnTextFrameDoubleClicked | Raises the TextFrameDoubleClicked event. |
| OnTextFrameMoved | Raises the TextFrameMoved event. |
| OnTextFrameRightClicked | Raises the TextFrameRightClicked event. |
| OnTextFrameSelected | Raises the TextFrameSelected event. |
| OnTextFrameSized | Raises the TextFrameSized event. |
| OnTextMiniToolbarInitialized | Raises the TextMiniToolbarInitialized event. |
| OnTrackedChangeChanged | Raises the TrackedChangeChanged event. |
| OnTrackedChangeCreated | Raises the TrackedChangeCreated event. |
| OnTrackedChangeDeleted | Raises the TrackedChangeDeleted event. |
| OnTrackedChangeStateChanged | Raises the TrackedChangeStateChanged event. |
| OnVExpanded | Raises the VExpanded event. |
| OnVScroll | Raises the VScroll event. |
| OnVShrunk | Raises the VShrunk event. |
| OnXmlInvalid | Raises the XmlInvalid event. |
| OnXmlNotWellFormed | Raises the XmlNotWellFormed event. |
| PageColorDialog | Invokes the built-in dialog box for setting the page color. |
| ParagraphFormatDialog | Invokes the built-in dialog box for setting the formatting attributes of a paragraph. |
| Paste | Replaces the current selection in the Text Control with the contents of the Clipboard. |
| 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. |
| 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. |
| Prints a Text Control document or a part of a document. | |
| Redo | Redoes the last Text Control operation. |
| Replace | Opens the built-in Replace dialog box. |
| ResetContents | Deletes the entire contents of a Text Control. |
| Save | Saves the complete contents of a document with the specified format. |
| SectionFormatDialog | Invokes the built-in tabbed dialog box for setting section attributes. These are page settings such as margins and size, all settings concerning headers and footers, page columns and page borders. |
| Select | Selects text within the Text Control. |
| SelectAll | Selects all text in the Text Control. |
| SelectWord | Selects the word at the current text input position. |
| SignatureFieldLayoutDialog | Invokes the built-in dialog box for alter the layout settings, the size and the text distances of a signature field. This dialog can only be invoked, if a signature field has been selected. |
| SpellCheckDialog | Invokes the built-in dialog box for correcting misspelled words. The dialog steps through all misspelled words in the current document. It begins with the main text following by all headers, footers and textframes. This dialog is only available when a spell checking component has been connected with the SpellChecker property. |
| TabDialog | Invokes the built-in dialog box for setting tabs. |
| TableFormatDialog | Invokes the built-in dialog box for setting formatting attributes of tables. The TableCollection.GetItem method can be used to test whether a table is selected or not. |
| TableOfContentsDialog | Invokes the built-in dialog box for inserting or changing a table of contents. If the current text input position is in an existing table of contents, the dialog box shows its attributes and the user can change it. Otherwise, a new table of contents is inserted with the specified attributes. |
| TextBackColorDialog | Invokes the built-in dialog box for setting the background color of the text. |
| TextFrameAttributesDialog | Invokes the built-in dialog box for setting attributes of text frames. This dialog box is only shown, if a text frame is currently selected. The TextFrameCollection.GetItem method can be used to test whether a text frame is selected or not. |
| Undo | Undoes the last edit operation in the Text Control. |
| Zoom | Zooms the contents of the TextControl. |
Events
| Event | Description |
|---|---|
| AdaptFont | Occurs for each font that must be adapted, because it is not supported. The event can occur, if another printer is set with the FormattingPrinter property, if a document is loaded that contains a font which is not supported, or if fonts have been restricted with the FontSettings.EmbeddableFontsOnly or the FontSettings.TrueTypeFontsOnly property. The event occurs only, if the FontSettings.AdaptFontEvent property has been set to true. The event handler receives an argument of type AdaptFontEventArgs containing data related to this event. |
| BarcodeClicked | Occurs when a barcode has been clicked on. The event handler receives an argument of type BarcodeEventArgs containing data related to this event. |
| BarcodeCreated | Occurs when a new barcode has been created. It occurs, when a barcode has been inserted in the document via the clipboard and when a file containing barcodes has been loaded. It does not occur, when a barcode has been added with the BarcodeCollection.Add method. The event handler receives an argument of type BarcodeEventArgs containing data related to this event. |
| BarcodeDeleted | Occurs when a barcode has been deleted. It occurs, when a barcode has been deleted while editing a document and when a barcode has been deleted with the BarcodeCollection.Remove method. The event handler receives an argument of type BarcodeEventArgs containing data related to this event. |
| BarcodeDeselected | Occurs when a barcode has been deselected. The event handler receives an argument of type BarcodeEventArgs containing data related to this event. |
| BarcodeDoubleClicked | Occurs when a barcode has been doubleclicked on. The event handler receives an argument of type BarcodeEventArgs containing data related to this event. |
| BarcodeMoved | Occurs when a barcode has been moved. It does not occur, if an inline or anchored barcode has been moved because text has been inserted. The event handler receives an argument of type BarcodeEventArgs containing data related to this event. |
| BarcodeRightClicked | Occurs when a barcode has been clicked on with the right mouse button. The event handler receives an argument of type BarcodeEventArgs containing data related to this event. |
| BarcodeSelected | Occurs when a barcode has been selected. The event handler receives an argument of type BarcodeEventArgs containing data related to this event. |
| BarcodeSized | Occurs when a barcode has been sized. The event handler receives an argument of type BarcodeEventArgs containing data related to this event. |
| CannotTrackChange | Determines how to handle a change of the document that cannot be added to the list of tracked changes. Complex table layout changes, such as deleting a table column or merging table cells cannot be tracked. The default handling shows a MessageBox asking the end-user whether the change of the document should be performed. The event handler receives an argument of type CannotTrackChangeEventArgs containing data related to this event. Using the CannotTrackChangeEventArgs.Handled and the CannotTrackChangeEventArgs.Cancel property the default handling can be changed. |
| Changed | Indicates that the contents of a document have been changed. The event handler receives an argument of type EventArgs containing data related to this event. |
| CharFormatChanged | Occurs when the character formatting attributes either of the selected characters or the current text input position have been changed. Formatting attributes that can be asigned to single characters are the font, the font attributes, text colors and the baseline. The event handler receives an argument of type EventArgs containing data related to this event. |
| CommentChanged | Occurs when the text of a comment has been altered. The event handler receives an argument of type CommentEventArgs containing data related to this event. |
| CommentCreated | Occurs when a piece of text has been commented. The event handler receives an argument of type CommentEventArgs containing data related to this event. |
| CommentDeleted | Occurs when a comment has been removed from the document. The event handler receives an argument of type CommentEventArgs containing data related to this event. |
| CommentedTextEntered | Occurs when the current input position has been moved to a position that belongs to a commented piece of text. The event handler receives an argument of type CommentEventArgs containing data related to this event. |
| CommentedTextLeft | Occurs when the current input position has left a commented piece of text. The event handler receives an argument of type CommentEventArgs containing data related to this event. |
| CommentStateChanged | Occurs when the state of a comment alters from active to inactive or vice versa. A piece of text with an inactive comment is not highlighted and is not retrieved through the CommentCollection.GetItem method. The event handler receives an argument of type CommentEventArgs containing data related to this event. |
| ContentsReset | Occurs when all text contents have been deleted and all attributes have been reset to the state after initialization. The event handler receives an argument of type EventArgs containing data related to this event. |
| DocumentLinkClicked | Occurs when a text field has been clicked on that represents a link to a target in the document. The event handler receives an argument of type DocumentLinkEventArgs containing data related to this event. |
| DocumentLoaded | Occurs when a new document has been loaded. The event handler receives an argument of type EventArgs containing data related to this event. |
| DocumentTargetCreated | Occurs when a document target has been created. The event handler receives an argument of type DocumentTargetEventArgs containing data related to this event. |
| DocumentTargetDeleted | Occurs when a document target has been deleted. The event handler receives an argument of type DocumentTargetEventArgs containing data related to this event. |
| DrawingActivated | Occurs when a drawing has been activated. The event handler receives an argument of type DrawingEventArgs containing data related to this event. A drawing is activated, when the user clicks the drawing with the mouse. The user can alter the drawing's contents, when it is activated. When the user clicks on the drawing's border, it is selected. A selected drawing can be sized, moved or copied to the clipboard. |
| DrawingClicked | Occurs when a drawing has been clicked on. The event handler receives an argument of type DrawingEventArgs containing data related to this event. |
| DrawingCreated | Occurs when a new drawing has been created. It occurs, when a drawing has been inserted in the document via the clipboard and when a file containing drawings has been loaded. It does not occur, when a drawing has been added with the DrawingCollection.Add method. The event handler receives an argument of type DrawingEventArgs containing data related to this event. |
| DrawingDeactivated | Occurs when a drawing has been deactivated. The event handler receives an argument of type DrawingEventArgs containing data related to this event. |
| DrawingDeleted | Occurs when a drawing has been deleted. It occurs, when a drawing has been deleted while editing a document and when a drawing has been deleted with the DrawingCollection.Remove method. The event handler receives an argument of type DrawingEventArgs containing data related to this event. |
| DrawingDeselected | Occurs when a drawing has been deselected. The event handler receives an argument of type DrawingEventArgs containing data related to this event. |
| DrawingDoubleClicked | Occurs when a drawing has been doubleclicked on. The event handler receives an argument of type DrawingEventArgs containing data related to this event. |
| DrawingMoved | Occurs when a drawing has been moved. It does not occur, if an inline or anchored drawing has been moved because text has been inserted. The event handler receives an argument of type DrawingEventArgs containing data related to this event. |
| DrawingRightClicked | Occurs when a drawing has been clicked on with the right mouse button. The event handler receives an argument of type DrawingEventArgs containing data related to this event. |
| DrawingSelected | Occurs when a drawing has been selected. The event handler receives an argument of type DrawingEventArgs containing data related to this event. |
| DrawingSized | Occurs when a drawing has been sized. The event handler receives an argument of type DrawingEventArgs containing data related to this event. |
| EditableRegionCreated | Occurs when an editable region has been created. The event handler receives an argument of type EditableRegionEventArgs containing data related to this event. |
| EditableRegionDeleted | Occurs when an editable region has been deleted. The event handler receives an argument of type EditableRegionEventArgs containing data related to this event. |
| EditableRegionEntered | Occurs when the current input position has been moved to a position that belongs to an editable region. The event handler receives an argument of type EditableRegionEventArgs containing data related to this event. |
| EditableRegionLeft | Occurs when the current input position has left an editable region. The event handler receives an argument of type EditableRegionEventArgs containing data related to this event. |
| FootnoteCreated | Occurs when a footnote has been created. The event handler receives an argument of type FootnoteEventArgs containing data related to this event. |
| FootnoteDeleted | Occurs when a footnote has been deleted. The event handler receives an argument of type FootnoteEventArgs containing data related to this event. |
| FootnoteReferenceMarkEntered | Occurs when the current input position has been moved to the position of a footnote reference mark. The event handler receives an argument of type FootnoteEventArgs containing data related to this event. |
| FootnoteReferenceMarkLeft | Occurs when the current input position has left the position of a footnote reference mark. The event handler receives an argument of type FootnoteEventArgs containing data related to this event. |
| FootnoteSectionActivated | Occurs when the footnote section of a document's page gets the current text input position from another part of the document. The event handler receives an argument of type EventArgs containing data related to this event. |
| FootnoteSectionDeactivated | Occurs when the footnote section of a document's page has lost the current text input position. The event handler receives an argument of type EventArgs containing data related to this event. |
| FormattingStyleChanged | Occurs after formatting attributes of one or more formatting styles have been changed. The event handler receives an argument of type EventArgs containing data related to this event. |
| FormattingStyleListChanged | Occurs after one or more formatting styles have been added or removed or if the name of an existing style has been changed. The event handler receives an argument of type EventArgs containing data related to this event. |
| FormFieldCheckChanged | Occurs when the checkmark of a CheckFormField has been changed from checked to unchecked or vice versa. The event handler receives an argument of type CheckFormFieldEventArgs containing data related to this event. The event does not occur, when the CheckFormfield.Checked property has been used to change the checkmark. |
| FormFieldDateChanged | Occurs when the date of a DateFormField has been changed. The event handler receives an argument of type DateFormFieldEventArgs containing data related to this event. The event does not occur, when the DateFormField.Date property has been used to change the date. |
| FormFieldSelectionChanged | Occurs when the selected item of a SelectionFormField has been changed. The event handler receives an argument of type SelectionFormFieldEventArgs containing data related to this event. The event does not occur, when the SelectionFormField.SelectedIndex property has been used to change the item. |
| FormFieldSettingsChanged | Occurs when the name, the id and/or formatting attributes of a CheckFormField, TextFormField, SelectionFormField or DateFormField have been changed. The event handler receives an argument of the type FormFieldEventArgs containing data related to this event. |
| FormFieldTextChanged | Occurs when the text of a TextFormField has been changed. The event handler receives an argument of type TextFormFieldEventArgs containing data related to this event. The event occurs only when the text has been changed through typing or deleting text with the keyboard and after the text input position has left the field. |
| FrameClicked | Occurs when a frame (image, text frame, chart, barcode or drawing) has been clicked on. The event handler receives an argument of type FrameEventArgs containing data related to this event. |
| FrameDeselected | Occurs when a frame (image, text frame, chart, barcode or drawing) has been deselected. The event handler receives an argument of type FrameEventArgs containing data related to this event. |
| FrameDoubleClicked | Occurs when a frame (image, text frame, chart, barcode or drawing) has been doubleclicked on. The event handler receives an argument of type FrameEventArgs containing data related to this event. |
| FrameLayoutChanged | Occurs when the layout of a frame (image, text frame, chart, barcode or drawing) has been changed. Layout attributes are insertion mode, textflow and z-order. The event handler receives an argument of type FrameEventArgs containing data related to this event. |
| FrameMoved | Occurs when a frame (image, text frame, chart, barcode or drawing) has been moved. It does not occur, if an inline or anchored frame has been moved because text has been inserted. The event handler receives an argument of type FrameEventArgs containing data related to this event. |
| FrameRightClicked | Occurs when a frame (image, text frame, chart, barcode or drawing) has been clicked on with the right mouse button. The event handler receives an argument of type FrameEventArgs containing data related to this event. |
| FrameSelected | Occurs when a frame (image, text frame, chart, barcode or drawing) has been selected. The event handler receives an argument of type FrameEventArgs containing data related to this event. |
| FrameSized | Occurs when a frame (image, text frame, chart, barcode or drawing) has been sized. The event handler receives an argument of type FrameEventArgs containing data related to this event. |
| HeaderFooterActivated | Occurs when a header or footer gets the current text input position from another part of the document such as a textframe or the main text. The event handler receives an argument of type HeaderFooterEventArgs containing data related to this event. |
| HeaderFooterDeactivated | Occurs when a header or footer loses the current text input position and another part of the document such as a textframe or the main text gets it. The event handler receives an argument of type HeaderFooterEventArgs containing data related to this event. |
| HExpanded | Occurs when the Text Control has automatically expanded its size horizontally. The event handler receives an argument of type EventArgs containing data related to this event. |
| HScroll | Occurs when the horizontal scroll position has been changed. The event handler receives an argument of type EventArgs containing data related to this event. |
| HShrunk | Occurs when the Text Control has automatically shrunk its size horizontally. The event handler receives an argument of type EventArgs containing data related to this event. |
| HypertextLinkClicked | Occurs when a text field has been clicked on that represents the source of a hypertext link. The event handler receives an argument of type HypertextLinkEventArgs containing data related to this event. |
| HyphenateWord | Occurs, if a word does not fit in the line and must be hyphenated. This event occurs only, if the IsHyphenationEnabled property has been set to true. The event handler receives an argument of type HyphenateWordEventArgs containing data related to this event. |
| ImageClicked | Occurs when an image has been clicked on. The event handler receives an argument of type ImageEventArgs containing data related to this event. |
| ImageCreated | Occurs when a new image has been created. It occurs if an image has been inserted in the document with the clipboard or if a file containing images has been loaded. It does not occur if an image has been added with the ImageCollection.Add method. The event handler receives an argument of type ImageEventArgs containing data related to this event. |
| ImageDeleted | Occurs when an image has been deleted. It occurs if an image has been deleted while editing a document or if an image has been deleted with the ImageCollection.Remove method. The event handler receives an argument of type ImageEventArgs containing data related to this event. |
| ImageDeselected | Occurs when an image has been deselected. The event handler receives an argument of type ImageEventArgs containing data related to this event. |
| ImageDoubleClicked | Occurs when an image has been doubleclicked on. The event handler receives an argument of type ImageEventArgs containing data related to this event. |
| ImageMoved | Occurs when an inserted image has been moved. It does not occur, if an inline or anchored image has been moved because text has been inserted. The event handler receives an argument of type ImageEventArgs containing data related to this event. |
| ImageRightClicked | Occurs when an image has been clicked on with the right mouse button. The event handler receives an argument of type ImageEventArgs containing data related to this event. |
| ImageSelected | Occurs when an image has been selected. The event handler receives an argument of type ImageEventArgs containing data related to this event. |
| ImageSized | Occurs when an inserted image has been sized. The event handler receives an argument of type ImageEventArgs containing data related to this event. |
| InputFormattingStyleChanged | Occurs after the text input position has been moved to a text part formatted with another style. The event handler receives an argument of type EventArgs containing data related to this event. |
| InputParagraphChanged | Occurs when the text input position has been moved to another paragraph. The event handler receives an argument of type EventArgs containing data related to this event. |
| InputPositionChanged | Occurs when the text input position has been changed. The event handler receives an argument of type EventArgs containing data related to this event. |
| 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. The event handler receives an argument of type EventArgs containing data related to this event. |
| MiniToolbarOpening | Occurs to handle displaying context sensitive mini toolbars. The event handler receives an argument of type WPF.MiniToolbarOpeningEventArgs containing data related to this event. The event itself is raised if the ShowMiniToolbar property is set to a value that is not MiniToolbarButton.None and the corresponding mouse button is raised. |
| ObjectMiniToolbarInitalized | Not described in the reference. public event MiniToolbarInitializedEventHandler ObjectMiniToolbarInitalized; |
| ObjectMiniToolbarInitialized | Occurs immediately after the built-in WPF.ObjectMiniToolbar was initialized. The event handler receives an argument of type WPF.MiniToolbarInitializedEventArgs containing the ObjectMiniToolbar that was created. The event is raised if the ShowMiniToolbar property is set to MiniToolbarButton.RightButton or MiniToolbarButton.LeftButton | MiniToolbarButton.RightButton. |
| PageChanged | Occurs when the text input position has been moved to another page. The event handler receives an argument of type EventArgs containing data related to this event. |
| PageFormatChanged | Occurs when the page format settings have been changed. The event handler receives an argument of type EventArgs containing data related to this event. |
| ParagraphFormatChanged | Occurs when the formatting attributes of the selected paragraphs have been changed. The event handler receives an argument of type EventArgs containing data related to this event. |
| PropertyChanged | Not described in the reference. public event PropertyChangedEventHandler PropertyChanged; |
| SectionChanged | Occurs when the text input position has been moved to another section. The event handler receives an argument of type EventArgs containing data related to this event. |
| SignatureFieldClicked | Occurs when a signature field has been clicked on. The event handler receives an argument of type SignatureFieldEventArgs containing data related to this event. |
| SignatureFieldCreated | Occurs when a new signature field has been created. It occurs if a signature field has been inserted in the document with the clipboard or if a file containing signature fields has been loaded. It does not occur if a signature field has been added with the SignatureFieldCollection.Add method. The event handler receives an argument of type SignatureFieldEventArgs containing data related to this event. |
| SignatureFieldDeleted | Occurs when a signature field has been deleted. It occurs if a signature field has been deleted while editing a document or if a signature field has been deleted with the SignatureFieldCollection.Remove method. The event handler receives an argument of type SignatureFieldEventArgs containing data related to this event. |
| SignatureFieldDeselected | Occurs when a signature field has been deselected. The event handler receives an argument of type SignatureFieldEventArgs containing data related to this event. |
| SignatureFieldSelected | Occurs when a signature field has been selected. The event handler receives an argument of type SignatureFieldEventArgs containing data related to this event. |
| SpellCheckText | Occurs, if the document's text has been altered and the spelling of the new text must be checked. This event occurs only, if the WPF.TextControl.IsSpellCheckingEnabled property has been set to true. The event handler receives an argument of type SpellCheckTextEventArgs containing data related to this event. |
| SubTextPartClicked | Occurs when a subtextpart has been clicked on. The event handler receives an argument of type SubTextPartEventArgs containing data related to this event. |
| SubTextPartCreated | Occurs when a subtextpart has been created. The event handler receives an argument of type SubTextPartEventArgs containing data related to this event. |
| SubTextPartDeleted | Occurs when a subtextpart has been deleted. The event handler receives an argument of type SubTextPartEventArgs containing data related to this event. |
| SubTextPartDoubleClicked | Occurs when a subtextpart has been double-clicked on. The event handler receives an argument of type SubTextPartEventArgs containing data related to this event. |
| SubTextPartEntered | Occurs when the current input position has been moved to a position that belongs to a subtextpart. The event handler receives an argument of type SubTextPartEventArgs containing data related to this event. |
| SubTextPartLeft | Occurs when the current input position has left a subtextpart. The event handler receives an argument of type SubTextPartEventArgs containing data related to this event. |
| TableCreated | Occurs after a new table has been created as a result of a text insertion via the clipboard or when loading a document which contains a table without an identifier. It does not occur when the table is inserted with the TableInsert method or for tables that have a previously set identifier when loading a document. The event handler receives an argument of type TableEventArgs containing data related to this event. |
| TableDeleted | Occurs after a table has been deleted. The event handler receives an argument of type TableEventArgs containing data related to this event. |
| TableFormatChanged | Occurs when the design attributes of a selected table have been changed. The event handler receives an argument of type TableEventArgs containing data related to this event. |
| TableOfContentsCreated | Occurs when a table of contents has been created. The event handler receives an argument of type TableOfContentsEventArgs containing data related to this event. |
| TableOfContentsDeleted | Occurs when a table of contents has been deleted. The event handler receives an argument of type TableOfContentsEventArgs containing data related to this event. |
| TableOfContentsEntered | Occurs when the current input position has been moved to a position that belongs to a table of contents. The event handler receives an argument of type TableOfContentsEventArgs containing data related to this event. |
| TableOfContentsLeft | Occurs when the current input position has left a table of contents. The event handler receives an argument of type TableOfContentsEventArgs containing data related to this event. |
| TextContextMenuOpening | Occurs immedialtely before a built-in context menu will be opened. The event handler receives an argument of type WPF.TextContextMenuEventArgs containing data related to this event. |
| TextFieldChanged | Occurs when the text of a text field has been changed. The event handler receives an argument of type TextFieldEventArgs containing data related to this event. |
| TextFieldClicked | Occurs when a text field has been clicked on. The event handler receives an argument of type TextFieldEventArgs containing data related to this event. |
| TextFieldCreated | Occurs when a text field has been created. The event handler receives an argument of type TextFieldEventArgs containing data related to this event. |
| TextFieldDeleted | Occurs when a text field has been deleted. The event handler receives an argument of type TextFieldEventArgs containing data related to this event. |
| TextFieldDoubleClicked | Occurs when a text field has been double-clicked on. The event handler receives an argument of type TextFieldEventArgs containing data related to this event. |
| TextFieldEntered | Occurs when the current input position has been moved to a position that belongs to a text field. The event handler receives an argument of type TextFieldEventArgs containing data related to this event. |
| TextFieldLeft | Occurs when the current input position has left a text field. The event handler receives an argument of type TextFieldEventArgs containing data related to this event. |
| TextFrameActivated | Occurs when a text frame gets the current text input position from another part of the document such as a header, a footer or the main text. The event handler receives an argument of type TextFrameEventArgs containing data related to this event. |
| TextFrameAppearanceChanged | Occurs when the appearance of a text frame (background color, transparency, border, inner margins) has been changed. The event handler receives an argument of type TextFrameEventArgs containing data related to this event. |
| TextFrameClicked | Occurs when a text frame has been clicked on. The event handler receives an argument of type TextFrameEventArgs containing data related to this event. |
| TextFrameCreated | Occurs when a new text frame has been created. It occurs if a text frame has been inserted in the document with the clipboard or if a file containing text frames has been loaded. It does not occur if an text frame has been added with the TextFrameCollection.Add method. The event handler receives an argument of type TextFrameEventArgs containing data related to this event. |
| TextFrameDeactivated | Occurs when a text frame loses the current text input position and another part of the document such as a header, a footer or the main text gets it. The event handler receives an argument of type TextFrameEventArgs containing data related to this event. |
| TextFrameDeleted | Occurs when a text frame has been deleted. It occurs if a text frame has been deleted while editing a document or if an text frame has been deleted with the TextFrameCollection.Remove method. The event handler receives an argument of type TextFrameEventArgs containing data related to this event. |
| TextFrameDeselected | Occurs when a text frame has been deselected. The event handler receives an argument of type TextFrameEventArgs containing data related to this event. |
| TextFrameDoubleClicked | Occurs when a text frame has been doubleclicked on. The event handler receives an argument of type TextFrameEventArgs containing data related to this event. |
| TextFrameMoved | Occurs when a text frame has been moved. It does not occur, if an inline or anchored text frame has been moved because text has been inserted. The event handler receives an argument of type TextFrameEventArgs containing data related to this event. |
| TextFrameRightClicked | Occurs when a text frame has been clicked on with the right mouse button. The event handler receives an argument of type TextFrameEventArgs containing data related to this event. |
| TextFrameSelected | Occurs when a text frame has been selected. The event handler receives an argument of type TextFrameEventArgs containing data related to this event. |
| TextFrameSized | Occurs when a text frame has been sized. The event handler receives an argument of type TextFrameEventArgs containing data related to this event. |
| TextMiniToolbarInitalized | Not described in the reference. public event MiniToolbarInitializedEventHandler TextMiniToolbarInitalized; |
| TextMiniToolbarInitialized | Occurs immediately after the built-in WPF.TextMiniToolbar was initialized. The event handler receives an argument of type WPF.MiniToolbarInitializedEventArgs containing the TextMiniToolbar that was created. The event is raised if the ShowMiniToolbar property is set to MiniToolbarButton.LeftButton, MiniToolbarButton.RightButton or MiniToolbarButton.LeftButton | MiniToolbarButton.RightButton. |
| TrackedChangeChanged | Occurs when the text of a tracked change has been altered. The event handler receives an argument of type TrackedChangeEventArgs containing data related to this event. |
| TrackedChangeCreated | Occurs when a tracked change has been created. A tracked change is created when a document is changed and the TextControl.IsTrackChangesEnabled property has been set to true. The event handler receives an argument of type TrackedChangeEventArgs containing data related to this event. |
| TrackedChangeDeleted | Occurs when a tracked change has been deleted. A tracked change is deleted when the change is either accepted or rejected. The event handler receives an argument of type TrackedChangeEventArgs containing data related to this event. |
| TrackedChangeStateChanged | Occurs when the state of a tracked change alters from active to inactive or vice versa. An inactive TrackedChange is not highlighted and is not retrieved through the TrackedChangeCollection.GetItem method. The event handler receives an argument of type TrackedChangeEventArgs containing data related to this event. |
| VExpanded | Occurs when the Text Control has automatically expanded its size vertically. The event handler receives an argument of type EventArgs containing data related to this event. |
| VScroll | Occurs when the vertical scroll position has been changed. The event handler receives an argument of type EventArgs containing data related to this event. |
| VShrunk | Occurs when the Text Control has automatically shrunk its size vertically. The event handler receives an argument of type EventArgs containing data related to this event. |
| XmlInvalid | Occurs when a loaded or changed XML document cannot be validated with the document type definition (DTD) referenced in the document. The event handler receives an argument of type XmlErrorEventArgs containing data related to this event. |
| XmlNotWellFormed | Occurs when a loaded XML document is not well-formed. The event handler receives an argument of type XmlErrorEventArgs containing data related to this event. |
Fields
| Field | Description |
|---|---|
| AcceptsTabProperty | Not described in the reference. public static readonly DependencyProperty AcceptsTabProperty; |
| ControlCharsProperty | Not described in the reference. public static readonly DependencyProperty ControlCharsProperty; |
| DocumentTargetMarkersProperty | Not described in the reference. public static readonly DependencyProperty DocumentTargetMarkersProperty; |
| DrawingMarkerLinesProperty | Not described in the reference. public static readonly DependencyProperty DrawingMarkerLinesProperty; |
| HorizontalScrollBarVisibilityProperty | Not described in the reference. public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty; |
| IsUndoEnabledProperty | Not described in the reference. public static readonly DependencyProperty IsUndoEnabledProperty; |
| SelectObjectsProperty | Not described in the reference. public static readonly DependencyProperty SelectObjectsProperty; |
| TextFrameMarkerLinesProperty | Not described in the reference. public static readonly DependencyProperty TextFrameMarkerLinesProperty; |
| VerticalScrollBarVisibilityProperty | Not described in the reference. public static readonly DependencyProperty VerticalScrollBarVisibilityProperty; |
| ViewModeProperty | Not described in the reference. public static readonly DependencyProperty ViewModeProperty; |
| ZoomFactorProperty | Not described in the reference. public static readonly DependencyProperty ZoomFactorProperty; |