RichTextBlock.SelectionStart プロパティ

定義

RichTextBlock で選択されているテキストの開始位置を取得します。

public:
 property TextPointer ^ SelectionStart { TextPointer ^ get(); };
TextPointer SelectionStart();
public TextPointer SelectionStart { get; }
var textPointer = richTextBlock.selectionStart;
Public ReadOnly Property SelectionStart As TextPointer

プロパティ値

選択範囲の開始を表すオブジェクト。選択範囲が存在しない場合は null

注釈

[選択] を使用して、選択の開始と終了を設定します。

適用対象