You can use the CloseMode
property. If you set CloseMode="Close"
, the "x" button will close your window. If this property is set to "Hide", the window will be only hidden.
About the second question - you should handle the PreviewClosed
event. It is fired before the Close
Hope this will work for you. If you have any problems with that, please feel free to ask.
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.