RadDock - Hidden Windows - How to manage?

2 posts, 0 answers
  1. grahame mcgirr
    grahame mcgirr avatar
    2 posts
    Member since:
    Jul 2009

    Posted 09 Dec 2009 Link to this post

    I have a RadDock control that contains Tool Windows, Document Windows and Shaped Forms.

    I want to be able to display a list of hidden windows and restore them to their pre-hidden state.

    Questions :-

    - Is there a list of these windows somewhere or do I have to track the windows that are hidden?
    - If I need to track the windows that are hidden how do I do that?
    - Any suggestions as to which control would be best suited to display the list of hidden windows, i.e. if you've done it before, used a particular control and it worked well

  2. Nikolay
    Nikolay avatar
    1802 posts

    Posted 11 Dec 2009 Link to this post

    Hi grahame mcgirr,

    You can easily get the hidden windows with the help of the GetWindows method. You should just pass the Hidden DockState as a parameter and you will get the desired collection:

    DockWindow[] hiddenWindows = this.radDock1.DockWindows.GetWindows(DockState.Hidden);

    You can display a list of hidden windows either in RadListBox or in RadGridView looking as RadListBox.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top