This documentation is archived and is not being maintained.

TextSelection Methods

(see also Protected Methods )
  Name Description
Public method ApplyPropertyValue  Applies a specified formatting property and value to the current selection. (inherited from TextRange)
Public method CanLoad  Checks whether the current selection can be loaded with content in a specified data format. (inherited from TextRange)
Public method CanSave  Checks whether the current selection can be saved as a specified data format. (inherited from TextRange)
Public method ClearAllProperties  Removes all formatting properties (represented by Inline elements) from the current selection. (inherited from TextRange)
Public method Contains  Checks whether a position (specified by a TextPointer) is located within the current selection. (inherited from TextRange)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetPropertyValue  Returns the effective value of a specified formatting property on the current selection. (inherited from TextRange)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Load  Loads the current selection in a specified data format from a specified stream. (inherited from TextRange)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Save  Saves the current selection to a specified stream in a specified data format. (inherited from TextRange)
Public method Select  Updates the current selection, taking two TextPointer positions to indicate the updated selection. (inherited from TextRange)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Show: