RichTextBox.SelectionType プロパティ

定義

コントロール内で選択されているデータの型を取得します。

public:
 property System::Windows::Forms::RichTextBoxSelectionTypes SelectionType { System::Windows::Forms::RichTextBoxSelectionTypes get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.RichTextBoxSelectionTypes SelectionType { get; }
[<System.ComponentModel.Browsable(false)>]
member this.SelectionType : System.Windows.Forms.RichTextBoxSelectionTypes
Public ReadOnly Property SelectionType As RichTextBoxSelectionTypes

プロパティ値

RichTextBoxSelectionTypes 値のビットごとの組み合わせ。

属性

注釈

このプロパティを使用すると、現在の選択範囲のコントロール内でタスクを実行するときに選択を適切に処理するために、コントロールで現在選択されているデータの種類を決定できます。 プロパティは、現在の選択範囲の多くの種類のオブジェクトを表す列挙体の値 RichTextBoxSelectionTypes の任意の組み合わせを表すことができます。

適用対象

こちらもご覧ください