c# - How to disable all binding/triggering inside a ContentControl -
In this case I have a grid in which it has lots of control, buttons, canvas, drawings, animations, all to see It is bound to -models, I would like to disable all data triggers, triggers, bindings inside their children and children's children etc. When I collapse the visibility of the grid, this CPU is not wasting the cycle (because heavy Animation is constantly running), and not crashing Is In!
I am using a behavior:
But it seems that this is making an app crash if collapsing while using the listbank
- Your admin templates will not be applicable ul>
So The only way to do this is to put everything inside a control:
So the template will not be implemented in this way and by the time I do not switch visibility, everything will be closed.
So my question is: Is this the right way to solve this issue?
Yes, because the content control collapses, unless you change visibility into visible The template will not be implemented until
However, I would be interested in knowing how your grid has been set up and you can break it down a bit more so that the buttons, canvas, drawing, animation, etc. are only started as necessary.
Comments
Post a Comment