WPF Logical Tree - bottom up vs. top down
Posted
by Dor Rotman
on Stack Overflow
See other posts from Stack Overflow
or by Dor Rotman
Published on 2010-02-22T21:30:37Z
Indexed on
2010/03/26
18:33 UTC
Read the original article
Hit count: 169
wpf
|optimization
Hello,
I've read the MSDN article about the layouts pass, that states:
When a node is added or removed from the logical tree, property invalidations are raised on the node's parent and all its children. As a result, a top-down construction pattern should always be followed to avoid the cost of unnecessary invalidations on nodes that have already been validated.
Now lets assume I do this. Won't the users see the control tree populate itself and the layout change several times during the control creation process? I want the whole control tree to just appear completely full.
Thanks!
© Stack Overflow or respective owner