Some docking issues

2 posts, 0 answers
  1. Yoni
    Yoni avatar
    10 posts
    Member since:
    Feb 2013

    Posted 20 Nov 2014 Link to this post

    Hello,

    1) How can I make a new tab to be added to the right side (instead of to the left side as it is by defualt)
    2) How can I control the size & the location of a tool window when adding it to rad dock via code?
    3) How can I show again a tool window that closed by the user (using the x button), also is there any event when the window is hide/shown

    Thank you!
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 21 Nov 2014 Link to this post

    Hello Yoni,

    Thank you for writing.

    Straight to your questions:

    1. Please refer to the DocumentInsertOrder section in the following article: http://www.telerik.com/help/winforms/dock-architecture-and-features-document-manager.html

    2. To control the location of the added ToolWindow you can use the DockWindow method of RadDock: http://www.telerik.com/help/winforms/dock-object-model-creating-toolwindow-and-documentwindow-at-runtime.html. As to the size, you should use the SizeMode property and control it as per your needs: http://www.telerik.com/help/winforms/dock-object-model-example-building-an-advanced-layout-at-runtime.html

    3. You can use the CloseAction property of a window, and set it to Hide. Then you can show a previously hidden window: http://www.telerik.com/help/winforms/dock-object-model-toolwindow-and-documentwindow-properties-at-runtime.html

    I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

    Regards,
    Stefan
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top