共用方式為


TextBoxSelectionChangingEventArgs.SelectionLength 屬性

定義

取得文字選取範圍的長度。

public:
 property int SelectionLength { int get(); };
int SelectionLength();
public int SelectionLength { get; }
var int32 = textBoxSelectionChangingEventArgs.selectionLength;
Public ReadOnly Property SelectionLength As Integer

屬性值

Int32

int

文字選取範圍的長度。

適用於