WPF: Notify visualParent when its children changed their size

Posted by minaevs on Stack Overflow See other posts from Stack Overflow or by minaevs
Published on 2010-03-16T16:08:06Z Indexed on 2010/03/16 16:11 UTC
Read the original article Hit count: 193

Filed under:

I have FrameworkElement, for example Grid, that has children(Cells, implemented in another control). When main Window changes size, i handle sizeChanged in Grid at first, and after that in some of its children. How can i get notify that all children sizeChanged events finished processing? Of course, i can raise other event in child sizeChanged and increase some counter, but for some reasons it is not the best decision.

Can anyone recommend something? Thanks!

© Stack Overflow or respective owner

Related posts about wpf