TextElement.ContentStart Property

July 28, 2014

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

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

public TextPointer ContentStart { get; }

Property Value

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

The ContentStart property is often used to insert content to the beginning of a TextElement.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2014 Microsoft