Now that there is a CloseButtonPostion property which can be set to InPaneAndGroup, is there any way to determine the source of the PreviewClose event; either from a pane or from the group? If not it would be useful.
Still, it would be nice if there were some property that could be tested.
Thanks,
Steve
0
George
Telerik team
answered on 20 Jun 2012, 10:57 AM
Hello Steve,
In the RadDocking control there is no definition of "closing a PaneGroup", but only "closing a pane". The RadPaneGroup will be closed (hidden) automatically when it doesn't contain any visible panes. In this scenario I would suggest the following code:
Hi George,
Actually I just wanted a way to tell if the user clicked the close button on a pane as opposed to the one on the group. By doing so I was able to implement a close all on the group button.
Thanks,Steve