Open tool window and dragging it, to existing Rad daocking control

3 posts, 0 answers
  1. shay
    shay avatar
    15 posts
    Member since:
    Jun 2015

    Posted 28 Mar Link to this post

    Hi,

    1. I want to open a tool window with content. 
    2. after the tool window is shown, i want to docking it  (by dragging) to existing radDaocking control.


    I saw this telerik documentation for telerik winform:
    ToolWindow windowTop = new ToolWindow();
    windowTop.Text = "Window Top";
    RadDocking radDock1 = new RadDocking();
    this.radDock1.DockWindow(windowTop, DockPosition.Top);

    what is the replacement code for this sample for telerik wpf?

    (i don't have windowTop.Text neither  radDock1.DockWindow(windowTop, DockPosition.Top))

    Thanks

  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 29 Mar Link to this post

    Hi Shay,

    ToolWindow is actually a container control which hosts a floating RadPane. You could check the following topic in our documentation which explains how to switch the state of a RadPane from floating to docked:
    Docked/Floating Panes

    Regards,
    Yana
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. shay
    shay avatar
    15 posts
    Member since:
    Jun 2015

    Posted 05 Apr Link to this post

    Thanks
Back to Top