wpf怎么阻止事件的发生

.Net技术 码拜 9年前 (2015-05-10) 1290次浏览 0个评论
 

wpf新手,以前用控件-=事件名就可以了,现在是在<style x:key=”chartcontrolstyle” targettype=”{x:type chart:Chart}”>标签下<eventsetter event=”control.mouseup” handler=”datapoint_mouseup”/>加的事件,现在我要阻止这个事件发生,该怎么写

没有人么???
60分
e.handle=true
datapoint_mouseup  
-》
这是个事件吧??
恩,datapoint_mouseup是加的事件,现在我要在其他事件中不触发这个事件

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明wpf怎么阻止事件的发生
喜欢 (0)
[1034331897@qq.com]
分享 (0)

文章评论已关闭!