This is a migrated thread and some comments may be shown as answers.

Raddocking capture RadPane added event

1 Answer 84 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Tayyaba
Top achievements
Rank 1
Tayyaba asked on 04 Dec 2017, 09:57 AM

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. 

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 05 Dec 2017, 11:17 AM
Hello Tayyaba,

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.
Tags
Docking
Asked by
Tayyaba
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or