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 :
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|