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.
文本框控件元素的名称是什么,我需要对其进行操作以更改文本框中位置标记的颜色? 正常的前景属性会改变实际的文本颜色,但位置标记保持相同的颜色。
要修改插入符号的颜色(假设是您所说的“位置标记”),您必须设置CaretBrush.TextBox
CaretBrush
TextBox