RichEditControl Methods
Represents a RichEdit control which is a container for the rich-text document providing all the necessary functionality.
Name | Description |
---|---|
Add |
Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handled as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route.
Inherited from UIElement. |
Add |
Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Inherited from UIElement. |
Add |
Adds the provided object to the logical tree of this element.
Inherited from Framework |
Add |
Adds the specified service to the service container. |
Add |
Adds the specified service to the service container. |
Add |
Adds the specified service to the service container. |
Add |
Adds the specified service to the service container. |
Add |
Adds handlers to the specified Event |
Add |
Defines the parent-child relationship between two visuals. Inherited from Visual. |
Apply |
Applies an animation to a specified dependency property on this element, with the ability to specify what happens if the property already has a running animation. Inherited from UIElement. |
Apply |
Applies an animation to a specified dependency property on this element. Any existing animations are stopped and replaced with the new animation. Inherited from UIElement. |
Apply |
Builds the current template’s visual tree if necessary, and returns a value that indicates whether the visual tree was rebuilt by this call.
Inherited from Framework |
Arrange |
Positions child elements and determines a size for a UIElement. Parent elements call this method from their Arrange |
Arrange |
Implements Arrange |
Arrange |
Called to arrange and size the content of a Control object. Inherited from Control. |
Assign |
Assigns a shortcut key to a command. The shortcut key is available for the specified Rich |
Assign |
Assigns a shortcut key to a command. Shortcut key is available for all Rich |
Assign |
Assigns a shortcut key to a command. Shortcut key is available for all Rich |
Begin |
Starts a specific animation for a specified animated property on this element, with the option of specifying what happens if the property already has a running animation. Inherited from UIElement. |
Begin |
Starts an animation for a specified animated property on this element. Inherited from UIElement. |
Begin |
Starts the initialization process for this element.
Inherited from Framework |
Begin |
Executes a delegate asynchronously on the thread with which the Rich |
Begin |
Begins the sequence of actions contained in the provided storyboard, with specified state for control of the animation after it is started.
Inherited from Framework |
Begin |
Begins the sequence of actions contained in the provided storyboard, with options specified for what should happen if the property is already animated.
Inherited from Framework |
Begin |
Begins the sequence of actions that are contained in the provided storyboard.
Inherited from Framework |
Begin |
Locks the Rich |
Bring |
Attempts to bring this element into view, within any scrollable regions it is contained within.
Inherited from Framework |
Bring |
Attempts to bring the provided region size of this element into view, within any scrollable regions it is contained within.
Inherited from Framework |
Cancel |
This method supports the internal infrastructure and is not intended to be called directly from your code. Use the Rich |
Capture |
Attempts to force capture of the mouse to this element. Inherited from UIElement. |
Capture |
Attempts to force capture of the stylus to this element. Inherited from UIElement. |
Capture |
Attempts to force capture of a touch to this element. Inherited from UIElement. |
Check |
Determines whether the calling thread has access to this Dispatcher |
Clear |
Clears information about recent operations, so they cannot not be undone. |
Clear |
Clears the local value of a property. The property to be cleared is specified by a Dependency |
Clear |
Clears the local value of a read-only property. The property to be cleared is specified by a Dependency |
Coerce |
Coerces the value of the specified dependency property. This is accomplished by invoking any Coerce |
Collapse |
Collapse the Search Panel of the Rich |
Copy() | Copies the content of the selection to the clipboard. |
Create |
Create a Rich |
Create |
Returns an object implementing the IRich |
Create |
Creates an object for specifying the options used in mail merge operations. |
Create |
Creates and loads a new empty document. Optionally raises the Document |
Cut() | Removes the selection from the document and places it on the clipboard. |
Deselect |
Specifies that no content is selected in the control. |
Dispose() |
Releases all resources used by the Rich |
End |
Indicates that the initialization process for the element is complete.
Inherited from Framework |
End |
Unlocks the Rich |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether a provided Dependency |
Export |
Obsolete. Exports the content of the Rich |
Export |
Exports the content of the Rich |
Export |
Exports the content of the Rich |
Export |
Obsolete. Exports the content of the Rich |
Export |
Exports the content of the Rich |
Export |
Exports the document content to the specified file path in PDF format. |
Find |
Returns the common ancestor of two visual objects. Inherited from Visual. |
Find |
Finds an element that has the provided identifier name.
Inherited from Framework |
Find |
Searches for a resource with the specified key, and throws an exception if the requested resource is not found.
Inherited from Framework |
Focus() | Attempts to set focus to this element. Inherited from UIElement. |
Focus |
Set keyboard focus to the Key |
Force |
Reserved for future use. |
Get |
Returns the base property value for the specified property on this element, disregarding any possible animated value from a running or stopped animation. Inherited from UIElement. |
Get |
Returns the Binding |
Get |
Gets the rectangle representing the character at the specified position. Coordinates are in a physical layout. |
Get |
Gets the rectangle representing the character at the specified position. Coordinates are in a physical layout. |
Get |
Gets the value of the Flow |
Get |
Gets a hash code for this Dependency |
Get |
Returns a geometry for a clipping mask. The mask applies if the layout system attempts to arrange an element that is larger than the available display space.
Inherited from Framework |
Get |
Gets the rectangle representing the character at the specified position with coordinates in a layout model. |
Get |
Creates a specialized enumerator for determining which dependency properties have locally set values on this Dependency |
Get |
This member supports the internal infrastructure and is not intended to be used directly from your code. |
Get |
Gets the position in the document closest to the specified point. |
Get |
Returns the collection of predefined font size values that are listed in the corresponding drop-down editor. |
Get |
Gets the value of the Rich |
Get |
Gets the service object of the specified type. |
Get |
Gets the specified service. |
Get |
Gets the shortcut key for the specified command. |
Get |
Returns the named element in the visual tree of an instantiated Control |
Get |
Gets the Type of the current instance. Inherited from Object. |
Get |
Returns an alternative logical parent for this element if there is no visual parent.
Inherited from Framework |
Get |
Returns the current effective value of a dependency property on this instance of a Dependency |
Get |
Overrides Get |
Hide |
The method does nothing and is only present for compatibility. |
Hit |
Implements Hit |
Hit |
Implements Hit |
Input |
Returns the input element within the current element that is at the specified coordinates, relative to the current element’s origin. Inherited from UIElement. |
Invalidate |
Invalidates the arrange state (layout) for the element. After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced by Update |
Invalidate |
Invalidates the entire document layout. |
Invalidate |
Invalidates the measurement state (layout) for the element. Inherited from UIElement. |
Invalidate |
Re-evaluates the effective value for the specified dependency property.
Inherited from Dependency |
Invalidate |
Invalidates the rendering of the element, and forces a complete new layout pass. On |
Is |
Determines whether the visual object is an ancestor of the descendant visual object. Inherited from Visual. |
Is |
Determines whether the visual object is a descendant of the ancestor visual object. Inherited from Visual. |
Is |
Gets whether the entire selection is contained in one table. |
Load |
Invokes the “Open…” file dialog, creates a specific importer and loads the file. |
Load |
Loads a document in the specified format from a byte array. You can use this method to load HTML documents with connected files. |
Load |
Loads a document in the specified format from a byte array. |
Load |
Loads a document from a byte array. The file format is determined based on document content. |
Load |
Loads a document from a stream, specifying the document format and optionally leaving the stream open. |
Load |
Loads a document from the stream in the specified format. External content for HTML format is retrieved using the specified source (base) URI. |
Load |
Loads a document from a stream, specifying the document format. |
Load |
Loads a document from the stream. |
Load |
Loads a document from the file in the specified format. External content for HTML format is retrieved using the specified source (base) URI. |
Load |
Loads a document from a file, specifying the document format. |
Load |
Loads a document from the specified file. The file format is determined by its content. |
Load |
Invokes the Open file dialog as a child of the specified parent window. |
Load |
Loads a document template in the specified format from a byte array. |
Load |
Loads a document template from a byte array. |
Load |
Loads a document template from a stream, specifying the document format. |
Load |
Loads a document template from the stream. |
Load |
Loads a document template from the file in the specified format. |
Load |
Loads a document template from the specified file so it cannot be overwritten automatically. |
Mail |
Merges data to the current document and sends the result to the specified Document instance. |
Mail |
Merges data to the current document and sends the result to the specified Document instance. Allows you to set the mail merge options. |
Mail |
Obsolete. Merges data to the current document using the specified options and sends the result to the specified Rich |
Mail |
Merges data to the current document and sends the result in the specified format to a stream. Allows you to set mail merge options. |
Mail |
Merges data to the current document and saves the result to a file in the specified format. Allows you to set mail merge options. |
Mail |
Obsolete. Merges data to the current document and sends the result to the specified Rich |
Mail |
Merges data to the current document and sends the result in the specified format to a stream. |
Mail |
Merges data to the current document and sends the result to the a file in the specified format. |
Measure |
Updates the Desired |
Measure |
Implements basic measure-pass layout system behavior for Framework |
Measure |
Called to remeasure a control. Inherited from Control. |
Measure |
Calculates the length of a formatted string. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Move |
Moves the keyboard focus away from this element and to another element in a provided traversal direction.
Inherited from Framework |
On |
Provides class handling for when an access key that is meaningful for this element is invoked. Inherited from UIElement. |
On |
Called just before a UI element is displayed in an application, after the template is completely generated and attached to the visual tree. |
On |
Supports layout behavior when a child element is resized. Inherited from UIElement. |
On |
Invoked whenever an unhandled Context |
On |
Invoked whenever an unhandled Context |
On |
Called when the DPI at which this View is rendered changes. Inherited from Visual. |
On |
Invoked when an unhandled Drag |
On |
Invoked when an unhandled Drag |
On |
Invoked when an unhandled Drag |
On |
Invoked when an unhandled Drag |
On |
Invoked when an unhandled Give |
On |
Invoked whenever an unhandled Got |
On |
Invoked when an unhandled Got |
On |
Invoked when an unhandled Got |
On |
Invoked when an unhandled Got |
On |
Provides class handling for the Got |
On |
Raises the Initialized event. This method is invoked whenever Istrue internally.
Inherited from Framework |
On |
Invoked when an unhandled Is |
On |
Invoked just before the Is |
On |
Invoked when an unhandled Is |
On |
Invoked when an unhandled Is |
On |
Invoked when an unhandled Is |
On |
Invoked when an unhandled Is |
On |
Invoked when an unhandled Is |
On |
Invoked when an unhandled Is |
On |
Invoked when an unhandled Key |
On |
Invoked when an unhandled Key |
On |
Raises the Lost |
On |
Invoked when an unhandled Lost |
On |
Invoked when an unhandled Lost |
On |
Invoked when an unhandled Lost |
On |
Provides class handling for the Lost |
On |
Called when the Manipulation |
On |
Called when the Manipulation |
On |
Called when the Manipulation |
On |
Called when the Manipulation |
On |
Called when the Manipulation |
On |
Provides class handling for the Manipulation |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Mouse |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Raises the Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Invoked when an unhandled Preview |
On |
Provides class handling for the Preview |
On |
Provides class handling for the Preview |
On |
Provides class handling for the Preview |
On |
Invoked whenever the effective value of any dependency property on this Framework |
On |
Invoked when an unhandled Query |
On |
Invoked when an unhandled Query |
On |
When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing. Inherited from UIElement. |
On |
Raises the Size |
On |
Invoked when the style in use on this element changes, which will invalidate the layout.
Inherited from Framework |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Invoked when an unhandled Stylus |
On |
Called whenever the control’s template changes. Inherited from Control. |
On |
Invoked when an unhandled Text |
On |
Invoked whenever an unhandled Tool |
On |
Invoked whenever the Tool |
On |
Provides class handling for the Touch |
On |
Provides class handling for the Touch |
On |
Provides class handling for the Touch |
On |
Provides class handling for the Touch |
On |
Provides class handling for the Touch |
On |
Called when the Visual |
On |
Invoked when the parent of this element in the visual tree is changed. Overrides On |
Parent |
Supports incremental layout implementations in specialized subclasses of Framework |
Paste() | Inserts the contents of the clipboard at the selection. |
Point |
Converts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual. Inherited from Visual. |
Point |
Converts a Point from the current coordinate system of the Visual into a Point in screen coordinates. |
Point |
Converts a Point that represents the current coordinate system of the Visual into a Point in screen coordinates. Inherited from Visual. |
Predict |
Determines the next element that would receive focus relative to this element for a provided focus movement direction, but does not actually move the focus.
Inherited from Framework |
Print() | Prints the document to the default printer with the default settings. |
Print |
Prints the document with the given printer settings and document name. |
Print |
Prints the document with the given printer settings. |
Raise |
Raises a specific routed event. The Routed |
Read |
Returns the local value of a dependency property, if it exists.
Inherited from Dependency |
Redo() | Reapplies the last action that was undone in the control. |
Redraw |
Forces the control to asynchronously redraw itself. |
Redraw |
This member supports the internal infrastructure and is not intended to be used directly from your code. |
Redraw |
This member supports the internal infrastructure and is not intended to be used directly from your code. |
Redraw |
This member supports the internal infrastructure and is not intended to be used directly from your code. |
Redraw |
This member supports the internal infrastructure and is not intended to be used directly from your code. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Refresh() |
Updates the Rich |
Register |
Provides an accessor that simplifies access to the Name |
Release |
Releases all captured touch devices from this element. Inherited from UIElement. |
Release |
Releases the mouse capture, if this element held the capture. Inherited from UIElement. |
Release |
Releases the stylus device capture, if this element held the capture. Inherited from UIElement. |
Release |
Attempts to release the specified touch device from this element. Inherited from UIElement. |
Remove |
Removes the specified routed event handler from this element. Inherited from UIElement. |
Remove |
Removes the provided object from this element’s logical tree. Framework |
Remove |
Removes the service of specified type from the service container. |
Remove |
Removes the service of specified type from the service container. |
Remove |
Removes a command shortcut for the specified Rich |
Remove |
Removes a command shortcut for all Rich |
Remove |
Removes a command shortcut for all Rich |
Remove |
Removes the parent-child relationship between two visuals. Inherited from Visual. |
Replace |
Performs a service substitution. |
Save |
Saves a document in its original format to its original location. |
Save |
Saves the document to a byte array in the specified file format and encrypts it with a password. |
Save |
Saves the document to a byte array in the specified file format. |
Save |
Saves the document to a file, specifying the document’s format and encryption settings. |
Save |
Saves the control’s document to a file and specifies the document’s format. |
Save |
Saves the document to a file, specifying the document’s format and encryption settings. |
Save |
Saves the control’s document to a file and specifies the document’s format. |
Save |
Saves a document in its original format to its original location. If original format and location are not specified, invokes the Save As dialog that is shown modally as a child of the specified parent window. |
Save |
Invokes a Save As dialog and saves a document. |
Save |
Invokes the Save As form which is shown modally as a child of the specified parent window. |
Scroll |
Scrolls the document to the caret position. |
Scroll |
Scrolls the document so that the caret position is displayed at the specified relative vertical offset. |
Select |
Selects the entire contents of the Rich |
Set |
Attaches a binding to this element, based on the provided source property name as a path qualification to the data source.
Inherited from Framework |
Set |
Attaches a binding to this element, based on the provided binding object.
Inherited from Framework |
Set |
Sets the value of a dependency property without changing its value source.
Inherited from Dependency |
Set |
Sets the value of the Flow |
Set |
Searches for a resource with the specified name and sets up a resource reference to it for the specified property.
Inherited from Framework |
Set |
Sets the value of the Rich |
Set |
Sets the local value of a dependency property, specified by its dependency property identifier.
Inherited from Dependency |
Set |
Sets the local value of a read-only dependency property, specified by the Dependency |
Set |
This member supports the internal infrastructure and is not intended to be used directly from your code. |
Should |
Returns whether serialization processes should serialize the contents of the Command |
Should |
Returns whether serialization processes should serialize the contents of the Input |
Should |
Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.
Inherited from Dependency |
Should |
Returns whether serialization processes should serialize the contents of the Resources property.
Inherited from Framework |
Should |
Returns whether serialization processes should serialize the contents of the Style property.
Inherited from Framework |
Should |
Returns whether serialization processes should serialize the contents of the Triggers property.
Inherited from Framework |
Show |
The method does nothing, and is only present for compatibility. |
Show |
Invokes the Search Panel with the replace functionality enabled. |
Show |
Invokes the Search Panel with the specified search string. |
IQuery |
For a description of this member, see the Is |
To |
Returns the string representation of a Control object. Inherited from Control. |
Transform |
Returns a transform that can be used to transform coordinates from the Visual to the specified Visual3D ancestor of the visual object. Inherited from Visual. |
Transform |
Returns a transform that can be used to transform coordinates from the Visual to the specified Visual ancestor of the visual object. Inherited from Visual. |
Transform |
Returns a transform that can be used to transform coordinates from the Visual to the specified visual object descendant. Inherited from Visual. |
Transform |
Returns a transform that can be used to transform coordinates from the Visual to the specified visual object. Inherited from Visual. |
Translate |
Translates a point relative to this element to coordinates that are relative to the specified element. Inherited from UIElement. |
Try |
Searches for a resource with the specified key, and returns that resource if found.
Inherited from Framework |
Undo() | Cancels changes caused by the last operation. |
Unregister |
Simplifies access to the Name |
Update |
Refreshes the command UI of the Rich |
Update |
For internal use. |
Update |
Reapplies the default style to the current Framework |
Update |
Ensures that all visual child elements of this element are properly updated for layout. Inherited from UIElement. |
Verify |
Enforces that the calling thread has access to this Dispatcher |
See Also