TextBox.SelectionLength 속성

정의

텍스트 상자에서 현재 선택 영역의 문자 수를 가져오거나 설정합니다.

public:
 property int SelectionLength { int get(); void set(int value); };
int SelectionLength();

void SelectionLength(int value);
public int SelectionLength { get; set; }
var int32 = textBox.selectionLength;
textBox.selectionLength = int32;
Public Property SelectionLength As Integer
<TextBox SelectionLength="int"/>

속성 값

Int32

int

텍스트 상자의 현재 선택 영역에 있는 문자 수이거나 선택 항목이 없는 경우 0입니다.

적용 대상