I need to know how can I handle "the closing event" of RadDocumentPane object. I need to execute some code when a specific RadDocumentPane is closed! The same applies to RadPane control.
3 Answers, 1 is accepted
answered on 20 Mar 2009, 04:14 PM
You could handle one of the Close or PreviewClose events of the RadDocking control. It gets an IEnumerable<RadPane> as a property of the arguments of the event. Currently the The IEnumerable<RadPane> has only one item in it. You can do like this:
You can do the same for the PreviewClose event. The difference is that the PreviewClose event is called before the actual hiding of the pane and you can cancel it by setting the Handled property of the arguments to true.