This documentation is archived and is not being maintained.
Represents a selection of content between two TextPointer positions.
The TextRange type exposes the following members.
|ApplyPropertyValue||Applies a specified formatting property and value to the current selection.|
|CanLoad||Checks whether the current selection can be loaded with content in a specified data format.|
|CanSave||Checks whether the current selection can be saved as a specified data format.|
|ClearAllProperties||Removes all formatting properties (represented by Inline elements) from the current selection.|
|Contains||Checks whether a position (specified by a TextPointer) is located within the current selection.|
|Equals||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetPropertyValue||Returns the effective value of a specified formatting property on the current selection.|
|GetType||Gets the type of the current instance. (Inherited from Object.)|
|Load||Loads the current selection in a specified data format from a specified stream.|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|Save||Overloaded. Saves the current selection to a specified stream in a specified data format.|
|Select||Updates the current selection, taking two TextPointer positions to indicate the updated selection.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|End||Get the position that marks the end of the current selection.|
|IsEmpty||Gets a value indicating whether or not the current selection is empty.|
|Start||Gets the position that marks the beginning of the current selection.|
|Text||Gets or sets the plain text contents of the current selection.|