FlowDocument::ContentStart Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public:
property TextPointer^ ContentStart {
	TextPointer^ get();
}

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: