次の方法で共有


TextElement.ContentStart プロパティ

定義

要素内のコンテンツの先頭を表すテキスト ポインターを取得します。

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

プロパティ値

TextElement内のコンテンツの先頭。

注釈

ContentStart プロパティは、多くの場合、TextElementの先頭にコンテンツを挿入するために使用されます。

このプロパティによって返される TextPointerLogicalDirection は常に LogicalDirection.Backwardに設定されます。

適用対象

こちらもご覧ください