DocumentContainer have routed event for StateChanged and not have any routed event for StateChanging. But this can be achieved by customizing the Header style of the DocumentWindow. In below code example, new command(“WindowStateChangedCommand”) is binded in customized header style of DocumentMDIHeader. ExecuteWindowStateChange method will be triggered while pressing the Maximize button of MDI Window.
Sample link :
This page will automatically be redirected to the sign-in page in 10 seconds.