ContentStart Property

TextElement.ContentStart Property


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

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

public TextPointer ContentStart { get; }

Property Value

Type: System.Windows.Documents.TextPointer

A TextPointerContext 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.

.NET Framework
Available since 3.0
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
© 2015 Microsoft