开发者

WPF Canvas inheritance, mouse events not detected

I made a child class of Canvas WPF class to change rendering function. However, when I try to change its background property in child class to handle mouse events properly it is no开发者_运维百科t working. When manually set background in xaml with Background="White" in editor it is not working.

Where am I wrong. Beside that I would prefer adding canvaschild dynamically instead of using editor.

Thanks

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜