SelectedText プロパティ (WPFRichTextBox)
クラス
WPFRichTextBox
.
処理
[読み取り専用] テキスト ボックス内の現在の選択の内容。 このプロパティを取得すると現在の文字列のコピーが返されます。 このプロパティを設定すると現在の選択範囲が指定された文字列で置換されます。
構文
C#
protected
String
SelectedText { get; }
VB
'Declaration Protected Read Property SelectedText As
String
アクセス
読み取り専用。