开发者

WPF checkbox programmatically remove event

Does 开发者_JS百科anyone know how to programmatically remove/add the checked and unchecked event on WPF checkbox?


Assuming your event handlers are proper methods and not anonymous delegates:

mycheckbox.Unchecked -= theEventHandler;
mycheckbox.Checked -= theOtherEventHandler;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜