TextBlock.ContentStart 属性

定义

获取内容开头的TextPointer一个 TextBlock

public:
 property System::Windows::Documents::TextPointer ^ ContentStart { System::Windows::Documents::TextPointer ^ get(); };
public System.Windows.Documents.TextPointer ContentStart { get; }
member this.ContentStart : System.Windows.Documents.TextPointer
Public ReadOnly Property ContentStart As TextPointer

属性值

内容开头的 TextPointerATextBlock

注解

内容开头是直接位于第一个字符前面的 TextBlock插入位置。

TextPointer此属性返回的始终设置为 LogicalDirectionBackward

适用于

另请参阅