TextBox.SelectionStart 속성

정의

텍스트 상자에서 선택한 텍스트의 시작 위치를 가져오거나 설정합니다. SelectionLength가 0이면(선택한 텍스트가 없음) SelectionStart 속성은 커서 위치에 해당합니다.

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

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

속성 값

Int32

int

현재 선택 영역 또는 현재 커서 위치의 시작 위치입니다.

적용 대상