TextSelection Methods
Collapse the table of content
Expand the table of content

TextSelection Methods

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The TextSelection type exposes the following members.

  NameDescription
Public method ApplyPropertyValue Applies the specified formatting property and value to the current selection.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPropertyValue Gets the value of the specified formatting property on the current selection.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Insert Inserts or replaces the content at the current selection as a TextElement.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Select Updates the current selection, taking two TextPointer positions to indicate the updated selection.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Show:
© 2017 Microsoft