有没有办法知道我的光标的位置 - 在TextBox控件?

Gol*_*old 3 c# winforms

我有我的C#(WinForms)程序TextBox控件

如果我有这个文字: abcd efg hijklmnop

我站在cd =位置3 之间

或者我站在hi =位置10 之间

如何获得这个职位?

提前致谢

jan*_*dor 5

您是否尝试使用TextBox.SelectionStart当前光标位置?