TextElement.ContentEnd 属性

定义

获取表示元素中内容末尾的文本指针。Gets a text pointer that represents the end of the content in the element.

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

属性值

TextPointer

中内容的末尾 TextElementThe end of the content in the TextElement.

注解

ContentEnd属性通常用于向的末尾追加内容 TextElementThe ContentEnd property is often used to append content to the end of a TextElement.

TextPointer此属性返回的始终 LogicalDirection 将其设置为 LogicalDirection.ForwardThe TextPointer returned by this property always has its LogicalDirection set to LogicalDirection.Forward.

适用于

另请参阅