TextBlock.ContentStart Property

Definition

Gets a TextPointer object for the start of text content in the TextBlock.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.TextBlock.ContentStart.

public:
 property TextPointer ^ ContentStart { TextPointer ^ get(); };
TextPointer ContentStart();
public TextPointer ContentStart { get; }
var textPointer = textBlock.contentStart;
Public ReadOnly Property ContentStart As TextPointer

Property Value

TextPointer

A TextPointer object for the start of text content in the TextBlock.

Applies to