Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1528
auto-open panes (a la Visual Studio)
posted

I would like to auto-open docked unpinned panes when content is being written to them, similar to what happens in Visual Studio's Output and Error List panes.

Any examples of how that's best accomplished?  I am assuming I would invoke an open method (which I havent found yet) and reset a timer based on a content changed event, then close the pane when the timer runs out.

Parents
No Data
Reply
  • 5389
    Suggested Answer
    posted

    dgennetten,

    With regards to the UltraDockManager code that would be necessary, you can use the component's PaneFromControl() method to find the DockableControlPane in question, and then call the Flyout() method on it.  When you are ready to close it, simply call DockManager.FlyIn(), which hides the current flyout DockableControlPane.  The code might look something like:

    DockableControlPane dcp = ultraDockManager.PaneFromControl(textBox1);

    dcp.Flyout();

    ...

    ultraDockManager.FlyIn();

    Hope this helps,

    ~Kim~

     

Children
No Data