阅读背景:

如何禁用内容控件中的所有绑定/触发

来源:互联网 

In this case I have a Grid with a lot controls inside it , buttons, canvas, drawing, animations , all bound to view-models, I would like to disable all the dataTriggers, triggers , bindings inside its children and children of children, etc., when I set the visibility of the Grid to collapsed, so it is not wasting CPU cycles, (because a heavy animation is continuously running), and not crashing!In this case I have a Grid with a lot controls




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

分享到: