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

屬性值

文字方塊中所選取的字元數。

屬性

適用於