New Classes, Properties, Methods and Events for WPF

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

Classes

Class Description
TXTextControl.DocumentPermissions The DocumentPermissions class provides settings determining how the document can be edited, when the EditMode is changed from Edit to ReadAndSelect.
TXTextControl.EditableRegion An EditableRegion object represents an editable region in a TX Text Control document.
TXTextControl.EditableRegionCollection Contains all editable regions in the main text or another part of a document.
TXTextControl.EditableRegionEventArgs The EditableRegionEventArgs class provides data for the EditableRegionCreated, EditableRegionDeleted, EditableRegionEntered and EditableRegionLeft events.
TXTextControl.WPF.MiniToolbar The WPF.MiniToolbar class is the base class of the built-in mini-toolbars of a WPF.TextControl.
TXTextControl.WPF.MiniToolbarInitializedEventArgs The WPF.MiniToolbarInitializedEventArgs class provides data for the WPF.TextControl.TextMiniToolbarInitialized or WPF.TextControl.ObjectMiniToolbarInitialized event of a WPF.TextControl just after the pre-defined WPF.TextMiniToolbar or WPF.ObjectMiniToolbar was created.
TXTextControl.WPF.MiniToolbarOpeningEventArgs The WPF.MiniToolbarOpeningEventArgs class provides data for the WPF.TextControl.MiniToolbarOpening event of a WPF.TextControl.
TXTextControl.WPF.ObjectMiniToolbar The ObjectMiniToolbar class is a mini toolbar that appears when the ShowMiniToolbar property is set to MiniToolbarButton.RightButton or MiniToolbarButton.LeftButton | MiniToolbarButton.RightButton, the right mouse button is released and the current context is a selected text frame, drawing frame or barcode frame (ContextMenuLocation.SelectedFrame).
TXTextControl.WPF.RibbonPermissionsTab The RibbonPermissionsTab class represents a Windows Forms ribbon tab for determining how the document can be edited, when it is enforced to be protected.
TXTextControl.WPF.TextMiniToolbar The WPF.TextMiniToolbar class is a mini toolbar that appears when ShowMiniToolbar property is set to MiniToolbarButton.LeftButton, MiniToolbarButton.RightButton or MiniToolbarButton.LeftButton | MiniToolbarButton.RightButton, the left or right mouse button is released and the current context is selected text (ContextMenuLocation.TextSelection), text at the input position (ContextMenuLocation.TextInputPosition) or an input position inside a table (ContextMenuLocation.Table).
TXTextControl.WPF.ThesaurusDialog The ThesaurusDialog class implements a Windows Forms dialog box that shows synonyms for selected text or a word at the current input position which will be selected on opening the dialog.

Properties

Property Description
TXTextControl.FrameBase.Bounds Gets the frame's bounding rectangle relative to the upper left corner of the document.
TXTextControl.HeaderFooter.EditableRegions Gets a collection of all editable regions in the header or footer.
TXTextControl.IFormattedText.EditableRegions Gets a collection of all editable regions.
TXTextControl.ServerTextControl.EditableRegions Gets a collection of all editable regions contained in the document.
TXTextControl.TextFrame.EditableRegions Gets a collection of all editable regions in the text frame.
TXTextControl.WPF.TextControl.CanCharacterFormat Informs whether the currently selected text can be formatted with character formatting attributes.
TXTextControl.WPF.TextControl.CanDocumentFormat Informs whether the document can be formatted with page and section formatting attributes.
TXTextControl.WPF.TextControl.CanEdit Informs whether the document's text and/or formatting attributes can be changed.
TXTextControl.WPF.TextControl.CanParagraphFormat Informs whether the currently selected text can be formatted with paragraph formatting attributes.
TXTextControl.WPF.TextControl.CanPrint Informs whether the document can be printed.
TXTextControl.WPF.TextControl.CanStyleFormat Informs whether the document can be formatted with formatting styles.
TXTextControl.WPF.TextControl.CanTableFormat Informs whether the currently selected text can be formatted with table formatting attributes.
TXTextControl.WPF.TextControl.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.
TXTextControl.WPF.TextControl.EditableRegions Gets a collection of all editable regions contained in the document.
TXTextControl.WPF.TextControl.RibbonPermissionsTab Specifies the name of the WPF.RibbonPermissionsTab object to be used with a TextControl.
TXTextControl.WPF.TextControl.SelectObjects Gets or sets a value controlling the selection of objects which are inserted behind the text.
TXTextControl.WPF.TextControl.ShowMiniToolbar Gets or sets a value indicating whether a mini-toolbar is shown.
TXTextControl.WPF.TextControl.UserNames Gets or sets a list of names specifying users who have access to editable regions.

Methods

Method Description
TXTextControl.ServerTextControl.OnContentsReset Raises the ContentsReset event.
TXTextControl.ServerTextControl.OnEditableRegionCreated Raises the EditableRegionCreated event.
TXTextControl.ServerTextControl.OnEditableRegionDeleted Raises the EditableRegionDeleted event.
TXTextControl.ServerTextControl.OnSubTextPartCreated Raises the SubTextPartCreated event.
TXTextControl.ServerTextControl.OnSubTextPartDeleted Raises the SubTextPartDeleted event.
TXTextControl.ServerTextControl.SelectWord Selects the word at the current text input position.
TXTextControl.WPF.TextControl.OnContentsReset Raises the ContentsReset event.
TXTextControl.WPF.TextControl.OnEditableRegionCreated Raises the EditableRegionCreated event.
TXTextControl.WPF.TextControl.OnEditableRegionDeleted Raises the EditableRegionDeleted event.
TXTextControl.WPF.TextControl.OnEditableRegionEntered Raises the EditableRegionEntered event.
TXTextControl.WPF.TextControl.OnEditableRegionLeft Raises the EditableRegionLeft event.
TXTextControl.WPF.TextControl.OnMiniToolbarOpening Raises the MiniToolbarOpening event.
TXTextControl.WPF.TextControl.OnObjectMiniToolbarInitialized Raises the ObjectMiniToolbarInitialized event.
TXTextControl.WPF.TextControl.OnSubTextPartCreated Raises the SubTextPartCreated event.
TXTextControl.WPF.TextControl.OnSubTextPartDeleted Raises the SubTextPartDeleted event.
TXTextControl.WPF.TextControl.OnTextMiniToolbarInitialized Raises the TextMiniToolbarInitialized event.
TXTextControl.WPF.TextControl.PointFromDocument Converts a Point in document coordinates, which are in twips relative to the top-left corner of the whole document, into a Point that represents the current coordinate system of the TextControl.
TXTextControl.WPF.TextControl.PointToDocument Converts a Point that represents the current coordinate system of the TextControl into a point in document coordinates, which are in twips relative to the top-left corner of the whole document.
TXTextControl.WPF.TextControl.SelectWord Selects the word at the current text input position.

Events

Event Description
TXTextControl.ServerTextControl.ContentsReset Occurs when all text contents have been deleted and all attributes have been reset to the state after initialization.
TXTextControl.ServerTextControl.EditableRegionCreated Occurs when an editable region has been created.
TXTextControl.ServerTextControl.EditableRegionDeleted Occurs when an editable region has been deleted.
TXTextControl.ServerTextControl.SubTextPartCreated Occurs when a subtextpart has been created.
TXTextControl.ServerTextControl.SubTextPartDeleted Occurs when a subtextpart has been deleted.
TXTextControl.WPF.TextControl.ContentsReset Occurs when all text contents have been deleted and all attributes have been reset to the state after initialization.
TXTextControl.WPF.TextControl.EditableRegionCreated Occurs when an editable region has been created.
TXTextControl.WPF.TextControl.EditableRegionDeleted Occurs when an editable region has been deleted.
TXTextControl.WPF.TextControl.EditableRegionEntered Occurs when the current input position has been moved to a position that belongs to an editable region.
TXTextControl.WPF.TextControl.EditableRegionLeft Occurs when the current input position has left an editable region.
TXTextControl.WPF.TextControl.MiniToolbarOpening Occurs to handle displaying context sensitive mini toolbars.
TXTextControl.WPF.TextControl.ObjectMiniToolbarInitialized Occurs immediately after the built-in WPF.ObjectMiniToolbar was initialized.
TXTextControl.WPF.TextControl.SubTextPartCreated Occurs when a subtextpart has been created.
TXTextControl.WPF.TextControl.SubTextPartDeleted Occurs when a subtextpart has been deleted.
TXTextControl.WPF.TextControl.TextMiniToolbarInitialized Occurs immediately after the built-in WPF.TextMiniToolbar was initialized.