Raddocking capture RadPane added event

2 posts, 0 answers
  1. Tayyaba
    Tayyaba avatar
    38 posts
    Member since:
    Apr 2017

    Posted 04 Dec 2017 Link to this post

    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. 

  2. Dilyan Traykov
    Dilyan Traykov avatar
    817 posts

    Posted 05 Dec 2017 Link to this post

    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.

    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.
Back to Top