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

[TemplatePart(Name = "TXPART_Border", Type = typeof(Border))]
[TemplatePart(Name = "TXPART_ScrollViewer", Type = typeof(ScrollViewer))]
[TemplatePart(Name = "TXPART_Document", Type = typeof(TextControlDocument))]
public class TextControl : System.Windows.Controls.Control, IFormattedText
<TemplatePartAttribute(Name := "TXPART_Border", Type := GetType(Border))> _
<TemplatePartAttribute(Name := "TXPART_ScrollViewer", Type := GetType(ScrollViewer))> _
<TemplatePartAttribute(Name := "TXPART_Document", Type := GetType(TextControlDocument))> _
Public Class TextControl _
  Inherits System.Windows.Controls.Control _
  Implements IFormattedText

Introduced: 16.0.

Constructors

Constructor Description
TextControl Initializes a new instance of the WPF.TextControl class.

Events

Event Description
AdaptFont Occurs for each font that must be adapted, because it is not supported.
BarcodeClicked Occurs when a barcode has been clicked on.
BarcodeCreated Occurs when a new barcode has been created.
BarcodeDeleted Occurs when a barcode has been deleted.
BarcodeDeselected Occurs when a barcode has been deselected.
BarcodeDoubleClicked Occurs when a barcode has been doubleclicked on.
BarcodeMoved Occurs when a barcode has been moved.
BarcodeRightClicked Occurs when a barcode has been clicked on with the right mouse button.
BarcodeSelected Occurs when a barcode has been selected.
BarcodeSized Occurs when a barcode has been sized.
CannotTrackChange Determines how to handle a change of the document that cannot be added to the list of tracked changes.
Changed Indicates that the contents of a document have been changed.
CharFormatChanged Occurs when the character formatting attributes either of the selected characters or the current text input position have been changed.
CommentChanged Occurs when the text of a comment has been altered.
CommentCreated Occurs when a piece of text has been commented.
CommentDeleted Occurs when a comment has been removed from the document.
CommentStateChanged Occurs when the state of a comment alters from active to inactive or vice versa.
CommentedTextEntered Occurs when the current input position has been moved to a position that belongs to a commented piece of text.
CommentedTextLeft Occurs when the current input position has left a commented piece of text.
ContentsReset Occurs when all text contents have been deleted and all attributes have been reset to the state after initialization.
DocumentLinkClicked Occurs when a text field has been clicked on that represents a link to a target in the document.
DocumentLoaded Occurs when a new document has been loaded.
DocumentTargetCreated Occurs when a document target has been created.
DocumentTargetDeleted Occurs when a document target has been deleted.
DrawingActivated Occurs when a drawing has been activated.
DrawingClicked Occurs when a drawing has been clicked on.
DrawingCreated Occurs when a new drawing has been created.
DrawingDeactivated Occurs when a drawing has been deactivated.
DrawingDeleted Occurs when a drawing has been deleted.
DrawingDeselected Occurs when a drawing has been deselected.
DrawingDoubleClicked Occurs when a drawing has been doubleclicked on.
DrawingMoved Occurs when a drawing has been moved.
DrawingRightClicked Occurs when a drawing has been clicked on with the right mouse button.
DrawingSelected Occurs when a drawing has been selected.
DrawingSized Occurs when a drawing has been sized.
EditableRegionCreated Occurs when an editable region has been created.
EditableRegionDeleted Occurs when an editable region has been deleted.
EditableRegionEntered Occurs when the current input position has been moved to a position that belongs to an editable region.
EditableRegionLeft Occurs when the current input position has left an editable region.
FootnoteCreated Occurs when a footnote has been created.
FootnoteDeleted Occurs when a footnote has been deleted.
FootnoteReferenceMarkEntered Occurs when the current input position has been moved to the position of a footnote reference mark.
FootnoteReferenceMarkLeft Occurs when the current input position has left the position of a footnote reference mark.
FootnoteSectionActivated Occurs when the footnote section of a document's page gets the current text input position from another part of the document.
FootnoteSectionDeactivated Occurs when the footnote section of a document's page has lost the current text input position.
FormFieldCheckChanged Occurs when the checkmark of a CheckFormField has been changed from checked to unchecked or vice versa.
FormFieldDateChanged Occurs when the date of a DateFormField has been changed.
FormFieldSelectionChanged Occurs when the selected item of a SelectionFormField has been changed.
FormFieldSettingsChanged Occurs when the name, the id and/or formatting attributes of a CheckFormField, TextFormField, SelectionFormField or DateFormField have been changed.
FormFieldTextChanged Occurs when the text of a TextFormField has been changed.
FormattingStyleChanged Occurs after formatting attributes of one or more formatting styles have been changed.
FormattingStyleListChanged Occurs after one or more formatting styles have been added or removed or if the name of an existing style has been changed.
FrameClicked Occurs when a frame (image, text frame, chart, barcode or drawing) has been clicked on.
FrameDeselected Occurs when a frame (image, text frame, chart, barcode or drawing) has been deselected.
FrameDoubleClicked Occurs when a frame (image, text frame, chart, barcode or drawing) has been doubleclicked on.
FrameLayoutChanged Occurs when the layout of a frame (image, text frame, chart, barcode or drawing) has been changed.
FrameMoved Occurs when a frame (image, text frame, chart, barcode or drawing) has been moved.
FrameRightClicked Occurs when a frame (image, text frame, chart, barcode or drawing) has been clicked on with the right mouse button.
FrameSelected Occurs when a frame (image, text frame, chart, barcode or drawing) has been selected.
FrameSized Occurs when a frame (image, text frame, chart, barcode or drawing) has been sized.
HExpanded Occurs when the Text Control has automatically expanded its size horizontally.
HScroll Occurs when the horizontal scroll position has been changed.
HShrunk Occurs when the Text Control has automatically shrunk its size horizontally.
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.
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.
HypertextLinkClicked Occurs when a text field has been clicked on that represents the source of a hypertext link.
HyphenateWord Occurs, if a word does not fit in the line and must be hyphenated.
ImageClicked Occurs when an image has been clicked on.
ImageCreated Occurs when a new image has been created.
ImageDeleted Occurs when an image has been deleted.
ImageDeselected Occurs when an image has been deselected.
ImageDoubleClicked Occurs when an image has been doubleclicked on.
ImageMoved Occurs when an inserted image has been moved.
ImageRightClicked Occurs when an image has been clicked on with the right mouse button.
ImageSelected Occurs when an image has been selected.
ImageSized Occurs when an inserted image has been sized.
InputFormattingStyleChanged Occurs after the text input position has been moved to a text part formatted with another style.
InputParagraphChanged Occurs when the text input position has been moved to another paragraph.
InputPositionChanged Occurs when the text input position has been changed.
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.
MiniToolbarOpening Occurs to handle displaying context sensitive mini toolbars.
ObjectMiniToolbarInitialized Occurs immediately after the built-in WPF.ObjectMiniToolbar was initialized.
PageChanged Occurs when the text input position has been moved to another page.
PageFormatChanged Occurs when the page format settings have been changed.
ParagraphFormatChanged Occurs when the formatting attributes of the selected paragraphs have been changed.
SectionChanged Occurs when the text input position has been moved to another section.
SignatureFieldClicked Occurs when a signature field has been clicked on.
SignatureFieldCreated Occurs when a new signature field has been created.
SignatureFieldDeleted Occurs when a signature field has been deleted.
SignatureFieldDeselected Occurs when a signature field has been deselected.
SignatureFieldSelected Occurs when a signature field has been selected.
SpellCheckText Occurs, if the document's text has been altered and the spelling of the new text must be checked.
SubTextPartClicked Occurs when a subtextpart has been clicked on.
SubTextPartCreated Occurs when a subtextpart has been created.
SubTextPartDeleted Occurs when a subtextpart has been deleted.
SubTextPartDoubleClicked Occurs when a subtextpart has been double-clicked on.
SubTextPartEntered Occurs when the current input position has been moved to a position that belongs to a subtextpart.
SubTextPartLeft Occurs when the current input position has left a subtextpart.
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.
TableDeleted Occurs after a table has been deleted.
TableFormatChanged Occurs when the design attributes of a selected table have been changed.
TableOfContentsCreated Occurs when a table of contents has been created.
TableOfContentsDeleted Occurs when a table of contents has been deleted.
TableOfContentsEntered Occurs when the current input position has been moved to a position that belongs to a table of contents.
TableOfContentsLeft Occurs when the current input position has left a table of contents.
TextContextMenuOpening Occurs immedialtely before a built-in context menu will be opened.
TextFieldChanged Occurs when the text of a text field has been changed.
TextFieldClicked Occurs when a text field has been clicked on.
TextFieldCreated Occurs when a text field has been created.
TextFieldDeleted Occurs when a text field has been deleted.
TextFieldDoubleClicked Occurs when a text field has been double-clicked on.
TextFieldEntered Occurs when the current input position has been moved to a position that belongs to a text field.
TextFieldLeft Occurs when the current input position has left a text field.
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.
TextFrameAppearanceChanged Occurs when the appearance of a text frame (background color, transparency, border, inner margins) has been changed.
TextFrameClicked Occurs when a text frame has been clicked on.
TextFrameCreated Occurs when a new text frame has been created.
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.
TextFrameDeleted Occurs when a text frame has been deleted.
TextFrameDeselected Occurs when a text frame has been deselected.
TextFrameDoubleClicked Occurs when a text frame has been doubleclicked on.
TextFrameMoved Occurs when a text frame has been moved.
TextFrameRightClicked Occurs when a text frame has been clicked on with the right mouse button.
TextFrameSelected Occurs when a text frame has been selected.
TextFrameSized Occurs when a text frame has been sized.
TextMiniToolbarInitialized Occurs immediately after the built-in WPF.TextMiniToolbar was initialized.
TrackedChangeChanged Occurs when the text of a tracked change has been altered.
TrackedChangeCreated Occurs when a tracked change has been created.
TrackedChangeDeleted Occurs when a tracked change has been deleted.
TrackedChangeStateChanged Occurs when the state of a tracked change alters from active to inactive or vice versa.
VExpanded Occurs when the Text Control has automatically expanded its size vertically.
VScroll Occurs when the vertical scroll position has been changed.
VShrunk Occurs when the Text Control has automatically shrunk its size vertically.
XmlInvalid Occurs when a loaded or changed XML document cannot be validated with the document type definition (DTD) referenced in the document.
XmlNotWellFormed Occurs when a loaded XML document is not well-formed.

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.
BeginUndoAction Begins a user-defined undo operation.
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.
EndUndoAction Ends a user-defined undo operation.
Find Finds a text string in the text part with the input focus.
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.
GetPages Gets a collection of all pages in the document.
GetSupportedFonts Gets an array of strings specifying the names of all currently supported fonts.
GetSupportedPaperSizes Gets an array of PaperSize structures specifying the names and the size of all currently supported paper sizes.
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.
ImageAttributesDialog Invokes the built-in dialog box for setting attributes of images.
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.
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.
OnCommentStateChanged Raises the CommentStateChanged event.
OnCommentedTextEntered Raises the CommentedTextEntered event.
OnCommentedTextLeft Raises the CommentedTextLeft 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.
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.
OnFormattingStyleChanged Raises the FormattingStyleChanged event.
OnFormattingStyleListChanged Raises the FormattingStyleListChanged 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.
OnHExpanded Raises the HExpanded event.
OnHScroll Raises the HScroll event.
OnHShrunk Raises the HShrunk event.
OnHeaderFooterActivated Raises the HeaderFooterActivated event.
OnHeaderFooterDeactivated Raises the HeaderFooterDeactivated 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.
Print 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.
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.
SpellCheckDialog Invokes the built-in dialog box for correcting misspelled words.
TabDialog Invokes the built-in dialog box for setting tabs.
TableFormatDialog Invokes the built-in dialog box for setting formatting attributes of tables.
TableOfContentsDialog Invokes the built-in dialog box for inserting or changing a table of contents.
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.
Undo Undoes the last edit operation in the Text Control.
Zoom Zooms the contents of the TextControl.

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.
AllowDrag Gets or sets a value indicating whether the control can be a source of a Drag&Drop operation.
AllowDrop Inherited from System.Windows.UIElement.
ApplicationFields Gets a collection of all application fields contained in the text part with the input focus.
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.
Barcodes Gets a collection of all barcodes contained in the text part with the input focus.
Baseline Gets or sets the baseline alignment, in twips, of the Text Control.
BorderThickness Gets or sets the border thickness of the Text Control.
ButtonBar Specifies the button bar control to be used with a TextControl.
CanCharacterFormat Informs whether the currently selected text can be formatted with character formatting attributes.
CanCopy Informs whether a part of a Text Control document has been selected and can be copied to the clipboard.
CanDocumentFormat Informs whether the document can be formatted with page and section formatting attributes.
CanEdit Informs whether the document's text and/or formatting attributes can be changed.
CanEditFormFields Informs whether form fields can be edited.
CanParagraphFormat Informs whether the currently selected text can be formatted with paragraph formatting attributes.
CanPaste Informs whether the clipboard contains a format that can be pasted into a Text Control document.
CanPrint Informs whether the document can be printed.
CanRedo Informs whether an operation can be re-done using the Redo method.
CanStyleFormat Informs whether the document can be formatted with formatting styles.
CanTableFormat Informs whether the currently selected text can be formatted with table formatting attributes.
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.
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.
ControlChars Specifies if control characters are visible or not.
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.
DocumentLinks Gets a collection of all document links contained in the text part with the input focus.
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.
DocumentTargetMarkers Gets or sets a value indicating that markers for hypertext targets are shown or not.
DocumentTargets Gets a collection of all targets contained in the text part with the input focus.
DrawingMarkerLines Specifies whether a marker frame is shown around a drawing to indicate its position and size.
Drawings Gets a collection of all drawings contained in the text part with the input focus.
DropFormats Gets or sets the formats of data the control can accept when the user drags it onto the control.
EditMode Gets or sets a value indicating whether text in the Text Control is read-only, can be selected or is editable.
EditableRegionHighlightMode Gets or sets a value indicating whether all the editable regions in the document are highlighted.
EditableRegions Gets a collection of all editable regions contained in the document.
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.
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).
FontStyle Gets or sets the font style of the text control.
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.
Footnotes Gets a collection of all footnotes contained in the main text of the document.
FormFields Gets a collection of all form fields contained in the document.
FormattingPrinter Gets or sets the name of a printer the text dimensions and capabilities of which are used to format the document.
FormulaReferenceStyle Gets or sets a value determining how references to table cells in formulas are specified.
Frames Gets a collection of all images, textframes, barcodes and drawings contained in the text part with the input focus.
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.
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.
HypertextLinks Gets a collection of all hypertext links contained in the text part with the input focus.
Images Gets a collection of all images contained in the text part with the input focus.
InlineStyles Gets a collection of all inline styles the current document contains.
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.
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.
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.
IsLanguageDetectionEnabled Gets or sets a value indicating whether language detection is active or not.
IsSpellCheckingEnabled Gets or sets a value indicating whether spell checking is active or not.
IsTabStop Gets or sets a value that indicates whether a text control is included in tab navigation.
IsTrackChangesEnabled Gets or sets a value indicating whether track changes is active or not.
IsUndoEnabled Gets or sets a value indicating whether the undo buffer is active or not.
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.
ListFormat Gets or sets the type and the formatting attributes of a bulleted or numbered list.
MisspelledWords Gets a collection of all misspelled words contained in the text part with the input focus.
PageMargins Gets or sets the margins for the pages of the current document.
PageSize Specifies the width and height of the pages for the current document.
PageUnit Gets or sets the measure used for page sizes and page margins.
Pages Gets the number of pages contained in the current document.
ParagraphFormat Gets or sets the paragraph formatting attributes of the text displayed by the control.
ParagraphStyles Gets a collection of all paragraph styles the current document contains.
Paragraphs Gets a collection of all paragraphs contained in the text part with the input focus.
PermanentControlChars Gets or sets a value indicating which control characters are shown permanently on the screen.
RedoActionName Gets a string that represents the name of the action that will be performed when a call to the Redo method is made.
RibbonFormFieldsTab Specifies the name of the WPF.RibbonFormFieldsTab object to be used with a TextControl.
RibbonFormattingTab Specifies the name of the WPF.RibbonFormattingTab object to be used with a TextControl.
RibbonFormulaTab Specifies the name of the WPF.RibbonFormulaTab object to be used with a TextControl.
RibbonFrameLayoutTab Specifies the name of the WPF.RibbonFrameLayoutTab object to be used with a TextControl.
RibbonInsertTab Specifies the name of the WPF.RibbonInsertTab object to be used with a TextControl.
RibbonPageLayoutTab Specifies the name of the WPF.RibbonPageLayoutTab object to be used with a TextControl.
RibbonPermissionsTab Specifies the name of the WPF.RibbonPermissionsTab object to be used with a TextControl.
RibbonProofingTab Specifies the name of the WPF.RibbonProofingTab object to be used with a TextControl.
RibbonReferencesTab Specifies the name of the WPF.RibbonReferencesTab object to be used with a TextControl.
RibbonReportingTab Specifies the name of the WPF.RibbonReportingTab object to be used with a TextControl.
RibbonTableLayoutTab Specifies the name of the WPF.RibbonTableLayoutTab object to be used with a TextControl.
RibbonViewTab Specifies the name of the WPF.RibbonViewTab object to be used with a TextControl.
RulerBar Specifies the horizontal ruler bar control to be used with a 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.
Sections Gets a collection of all sections in the document.
SelectObjects Gets or sets a value controlling the selection of objects which are inserted behind the text.
Selection Gets or sets the current selection in the text part with the input focus.
SelectionViewMode Specifies whether text selections are displayed with a transparent bitmap or through inverting the text.
ShowMiniToolbar Gets or sets a value indicating whether a mini-toolbar is shown.
SignatureFields Gets a collection of all signature fields contained in the main text of the document.
SpellCheckContextMenu Specifies the context menu which is used when the end-user right-clicks a misspelled word.
SpellChecker Specifies the spell checking component to be used with a TextControl.
StatusBar Specifies the status bar control to be used with a TextControl.
SubTextParts Gets a collection of all subtextparts contained in the text part with the input focus.
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.
TablesOfContents Gets a collection of all tables of contents in the text part with the input focus.
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.
TextFields Gets a collection of all standard text fields contained in the text part with the input focus.
TextFrameMarkerLines Specifies whether text frames that have no border line are shown with marker lines.
TextFrames Gets a collection of all text frames contained in the text part with the input focus.
TextParts Gets a collection of all main text parts the current document contains.
TrackedChanges Gets a collection of all changes made in the active part of the document.
UndoActionName Gets a string that represents the name of the action that will be performed when a call to the Undo method is made.
UserNames Gets or sets a list of names specifying users who have access to editable regions.
VerticalRulerBar Specifies the vertical ruler bar control to be used with a TextControl.
VerticalScrollBarVisibility Gets or sets a value that indicates whether a vertical scroll bar is shown.
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.

Further Reading

Learn more about the TXTextControl.WPF.TextControl Class in the Text Control Blog: