In the current version of RadDocking there isn't an explicit event that is triggered when the entire ToolWindow (floating PaneGroup) is closed. In those cases the Close event of the control is triggered multiple times for each RadPane present in that PaneGroup.
If the desired behavior is to get an event triggered when the entire ToolWindow is closed you could create a custom DefaultGeneratedItemsFactory
, override its CreateToolWindow
in which attach the Unloaded
event to it. That event will be triggered when that ToolWindow gets closed. The next code snippets show how that factory should look like:
CustomGeneratedItemsFactory : DefaultGeneratedItemsFactory
var window =
window.Unloaded += window_Unloaded;
sender, RoutedEventArgs e)
// Do something when the hole group was closed
and in the xaml:
Hope this is helpful.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>