TextElement::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 in the element.

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

public:
property TextPointer^ ContentStart {
	TextPointer^ 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
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: