Minimize Floating ToolWindow

2 posts, 1 answers
  1. Berkant Oral
    Berkant Oral avatar
    7 posts
    Member since:
    Aug 2009

    Posted 09 Mar 2012 Link to this post


    I can bring my toolwindow outside the my main program it is working great. Floating function works fine. But Sometime our customer want to some new features. They bring toolwindow outside program and minimize main program they only want to see toolwindow. but they dont see. cause when they minimize main program (main program owner the dock (toowindow)) toolwindow minimize together main form. how can I block this. Forexample if your toolwindow is floating after you want to minimize your main program. I dont want to minimize the toolwindow in this time. How can I do this.

    I use Telerik 2011 Q2

    Best Regards
  2. Answer
    Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 13 Mar 2012 Link to this post

    Hi Berkant,

    For this scenario you can override the OnActivated method of your parent Form and remove Owner of FloatingWindow:

    protected override void OnActivated(EventArgs e)
        radDock["toolWindow1"].FloatingParent.Owner = null;

    I hope this helps. Feel free to ask if you have any additional questions. 

    Julian Benkov
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  3. DevCraft R3 2016 release webinar banner
Back to Top