WPF___TextBox 현재 커서 라인 구하기
2020. 2. 17. 11:05ㆍWPF/코드
int line = textBox1.GetLineFromCharIndex(textBox1.SelectionStart);
int column = textBox1.SelectionStart - textBox1.GetFirstCharIndexFromLine(line);
'WPF > 코드' 카테고리의 다른 글
WPF___Oxyplot (0) | 2020.02.17 |
---|---|
TextBox___Cursor 끝으로 보내기 (0) | 2020.02.17 |
Paste___DataObjectPastingEventArgs (0) | 2020.02.17 |
WPF___Image 삽입 (0) | 2020.02.17 |
TextBox 붙여넣기 허용 (0) | 2020.01.15 |