TextRange Methods

TextRange Methods

 

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

NameDescription
System_CAPS_pubmethodApplyPropertyValue(DependencyProperty, Object)

Applies a specified formatting property and value to the current selection.

System_CAPS_pubmethodCanLoad(String)

Checks whether the current selection can be loaded with content in a specified data format.

System_CAPS_pubmethodCanSave(String)

Checks whether the current selection can be saved as a specified data format.

System_CAPS_pubmethodClearAllProperties()

Removes all formatting properties (represented by Inline elements) from the current selection.

System_CAPS_pubmethodContains(TextPointer)

Checks whether a position (specified by a TextPointer) is located within the current selection.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetPropertyValue(DependencyProperty)

Returns the effective value of a specified formatting property on the current selection.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodLoad(Stream, String)

Loads the current selection in a specified data format from a specified stream.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSave(Stream, String)

Saves the current selection to a specified stream in a specified data format.

System_CAPS_pubmethodSave(Stream, String, Boolean)

Saves the current selection to a specified stream in a specified data format, with the option of preserving custom TextElement objects.

System_CAPS_pubmethodSelect(TextPointer, TextPointer)

Updates the current selection, taking two TextPointer positions to indicate the updated selection.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show:
© 2016 Microsoft