Is there an event to capture auto hide of dockable window?

7 posts, 0 answers
  1. Garima Mehta
    Garima Mehta avatar
    2 posts
    Member since:
    Jan 2010

    Posted 17 Feb 2010 Link to this post

    Hi,

     We are not able to find out a event for mouse over on auto hide docking panel  and it get displayed and it get hide. Can you please help here?

    What are we actually trying accomplish is as follows:

     We added a RadDock on MDI form. RadDock contains two dockable tool windows. Property ‘MainDocumentContainerVisible’ of RadDock is set to false. Initally size of RadDock is set to very small in width, when panel gets docked size of RadDock  is reset , with this we were able to show all tool window in appropiate size in case of docking. But on mouse over tool window is showing with its default size. We tried to set size of tool window using AutoHideSize property but it is not working. If we able to get any event for auto hide occurance then we will be able to add logic to show tool panel appropiately. Can you please help here?

  2. Alain Lavoie
    Alain Lavoie avatar
    3 posts
    Member since:
    Feb 2010

    Posted 18 Feb 2010 Link to this post

    I'm trying to do the same thing but haven't found the answer.  Someone from Telerik answer this please...
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 19 Feb 2010 Link to this post

    Hi guys,

    Currently, there are no events fired when an AutoHideWindow pops up/collapses. We will introduce such in one of our next releases.

    Garima Mehta, please open a new support ticket and send me a sample project which demonstrates the issue that you experience with the AutoHideSize property. This will allow us to address the issue further and provide you with an appropriate workaround if such is available.

    Sincerely yours,
    Nikolay
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. Graeme Lynch
    Graeme Lynch avatar
    6 posts
    Member since:
    Aug 2009

    Posted 20 May 2011 Link to this post

    I am now using Q1 2011 with SP1 and still getting resize issues when Auto hide windows are opening.
    I couldn't find any events that I can capture yet when a tool window that is autohidden is shown.
    Any pointers for me?

  6. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 25 May 2011 Link to this post

    Hello Graeme,

    Thank you for writing.

    Unfortunately, Garima did not send us a sample project so we were not able to understand the issue that he had with the AutoHide windows. Therefore, I would kindly ask you to open a new support ticket and send me a sample project which demonstrates the issues that you experience. This will allow me to understand the exact case that you have and provide you with a more precise response.

    As to the events, for the AutoHide windows we exposed AutoHideWindowDisplaying, AutoHideWindowDisplayed and AutoHideWindowHidden events.

    I am looking forward to your sample project.

    Regards,
    Nikolay
    the Telerik team
    Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
  7. Graeme Lynch
    Graeme Lynch avatar
    6 posts
    Member since:
    Aug 2009

    Posted 25 May 2011 Link to this post

    Hi Nikolay

    I found those events and have started using them.
    I was finding that the size of the autohide window when it was open was being stored in the xml file when I was saving the RadDock file but was not getting reloaded into the control after loading the xml. So I am now saving the same values into the floating window size of the autohide, which I do not use for anything else,  and then reloading the values from there into the autohide size after the XML loads which seems to get around the problem.

    If I get a chance to create sample project which shows the same symptoms then I will post one up.

    It does seem a bit inconsistent as it did not appear for a while, which seemed to coincide with Q1 2011 but reappeared when I started using Q1 2011 SP1 so not too sure if an old bug crept back in.

    Thanks anyway,

    Graeme.
  8. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 30 May 2011 Link to this post

    Hi Graeme,

    Thank you for the details.

    The AutoHideSize property is not meant to be saved in the xml file that defines the structure of RadDock. I am logging this case as a feature request in our PITS. You can follow the PITS item and subscribe to its status updates.

    Best wishes,
    Nikolay
    the Telerik team
    Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
Back to Top
UI for WinForms is Visual Studio 2017 Ready