积极答复者
WPF RichTextBox

问题
答案
-
你可以在当得时候 设置一个flag属性为true,然后在gotfocus事件里面判断这个Flag属性,当Up的时候设置为flase,这样 鼠标的flag为true就是鼠标出发的
touch的flag为true就是touch触发的
Sheldon _Xiao[MSFT]
MSDN Community Support | Feedback to us
Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Sheldon _XiaoModerator 2012年12月4日 11:03
全部回复
-
你可以在当得时候 设置一个flag属性为true,然后在gotfocus事件里面判断这个Flag属性,当Up的时候设置为flase,这样 鼠标的flag为true就是鼠标出发的
touch的flag为true就是touch触发的
Sheldon _Xiao[MSFT]
MSDN Community Support | Feedback to us
Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Sheldon _XiaoModerator 2012年12月4日 11:03