Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 WPF 文本框中使用自定义插入符号,我想从 characterIndex 或 caretIndex 中获取 Point(x,y)。有一种方法可以将点(x,y)转换为字符索引(getCharacterIndexfromPoint),但是有没有办法反过来呢?