In WPF, how to know when an image has moved (due to another element Visibility changed to "Collapsed")?
<p>I have a <code>StackPanel</code> and an <code>Image</code>. When the user clicks a button, the <code>StackPanel</code> <code>Visibility</code> property is changing to <code>Collapsed</code>, making the image to change location.</p>

<p>Is there an event for that scenario? Another way to know when it is happening?</p>