Like winform has raddock.DockWindowAdded event, I want the same event for Raddocking in wpf too whenever a new radPane is added in my raddocking control.
The RadDocking control does not provide such an event out of the box, however, as the creation of panes depends entirely on the application logic, you should be able to handle this per your specific needs. I'm attaching a sample project based on the PaneGroup ItemsSource demo from our SDK Samples Browser to demonstrate such an implementation. What I've done is to handle the CollectionChanged event of the bound ObservableCollection to notify the user when a pane has been added. You can click the Add button to test this out.
Could you please have a look and let me know whether a similar implementation would be applicable at your end? If that is not the case, please provide more details on your exact setup and requirements so that I can suggest a better solution.
I look forward to your reply.
Regards,
Dilyan Traykov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.