How to listen for AffectsParentArrange events when you're not the parent

Posted by Jeff B on Stack Overflow See other posts from Stack Overflow or by Jeff B
Published on 2009-11-11T18:13:55Z Indexed on 2010/04/15 7:03 UTC
Read the original article Hit count: 268

Filed under:
|
|

There is an attribute "AffectsParentArrange" that implicitly invalidates the parent's layout - but I want to attach an event handler to the "event" triggered by that attribute.

When a child property with the attribute changes, the parent's arrangement is invalidated.

I have a custom control (which is not the immediate parent) that needs to receive an event.

Does anyone know of an event that can be used here?

Do I need to provide a custom parent that overrides a method and fires an event?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about wpf-controls