dynamically add DockingPanesFactory

3 posts, 1 answers
  1. hokushin
    hokushin avatar
    10 posts
    Member since:
    Sep 2012

    Posted 04 Dec 2016 Link to this post

    Hello folks!


    How can I add DockingPanesFactory to the RadDocking dynamically?

     <telerik:RadDocking 
                                x:Name="Docking"
                                >
                <telerik:RadDocking.DockingPanesFactory>
                    <local:CustomDockingPanesFactory />
                </telerik:RadDocking.DockingPanesFactory>
       </telerik:RadDocking>

     var Dock = new Telerik.Windows.Controls.RadDocking();
    .....
    Any advise or suggestion will be greatly appreciated.

  2. Answer
    Nasko
    Admin
    Nasko avatar
    622 posts

    Posted 06 Dec 2016 Link to this post

    Hi,

    We are not exactly sure that we completely understand your question. If you try to set the DockingPanesfactory in code - behind you could do it as shown below:
    var Dock = new Telerik.Windows.Controls.RadDocking();
    Dock.DockingPanesFactory = new CustomDockingPanesFactory();

    We suggest you to check also the following article from our help documentation that provides detailed information how to bind a collection of Panes to RadDocking:
    http://docs.telerik.com/devtools/wpf/controls/raddocking/features/panes/panesource

    Hope this helps.

    Regards,
    Nasko
    Telerik by Progress
    Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
  3. hokushin
    hokushin avatar
    10 posts
    Member since:
    Sep 2012

    Posted 06 Dec 2016 in reply to Nasko Link to this post

    Thanks a lot for prompt reply, this is exactly what I was looking for. Appreciate it.
Back to Top