TextElement.ContentEnd Property

July 28, 2014

Gets a TextPointer that represents the end of the content in the element.

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

public TextPointer ContentEnd { get; }

Property Value

Type: System.Windows.Documents.TextPointer
A TextPointer that represents the end of the content in the TextElement.

The ContentEnd property is often used to append content to the end of a TextElement.

The TextPointer returned by this property always has its LogicalDirection set to LogicalDirection.Forward.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2014 Microsoft