I think you can use the SizeChanged-Event of the FrameworkElement class to do what you want. All UIElement
s such as Button
or Textblock
derive from that class and therefore provide the event.
The SizeChangedEventArgs passed to registered method contains information if height or width has changed and provide the new values.