FlowDocument.ContentStart Property


Gets a TextPointer that represents the start of content within a FlowDocument.

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

Public ReadOnly Property ContentStart As TextPointer

Property Value

Type: System.Windows.Documents.TextPointer

A TextPointerContext representing the start of the contents in the FlowDocument.

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

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

The following example uses the ContentStart property to insert content at the beginning of a FlowDocument.

.NET Framework
Available since 3.0
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft