阅读背景:

WPF中的画布 - 如何检测从画布添加/删除元素的时间?

来源:互联网 

I created my own subclass from the standard WPF canvas to support various additional functions, amongst those I wanted to manage the Z-Index of the elements on the canvas, but in order to do that I need to run some code whenever an element is added or removed to/from the canvas. Unfortunately not the canvas nor it Children property seem to have appropriate events to handle these cases. I created my own subclass from the standard WPF




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: