Share via


TextBlock.ContentStart 属性

定义

获取 TextBlock 中文本内容的开头的 TextPointer 对象。

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

属性值

TextPointer 对象,用于 TextBlock 中文本内容的开头。

适用于