I want my main window to be resizeable, and I'm using a viewbox such that my content scales accordingly when the window is resized...however I want to fix a relationship between the width and height of the window. (For example, I want to force the width and height to be equal). It's not clear to me how I can do this in XAML. I also couldn't find a resize or preview resize event that I can capture and force the relationship programmatically.
Any suggestions

Forcing width==height on resize
George Birbilis
shailesh_ch