TextBox.SelectionLength プロパティ

定義

テキスト ボックスの編集できる部分で選択されている文字数を取得または設定します。

public:
 virtual property int SelectionLength { int get(); void set(int value); };
[System.ComponentModel.Browsable(false)]
public override int SelectionLength { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.SelectionLength : int with get, set
Public Overrides Property SelectionLength As Integer

プロパティ値

Int32

テキスト ボックス内で選択されている文字の数。

属性

適用対象