This is a migrated thread and some comments may be shown as answers.

RadDock - Hidden Windows - How to manage?

1 Answer 191 Views
Dock
This is a migrated thread and some comments may be shown as answers.
grahame mcgirr
Top achievements
Rank 1
grahame mcgirr asked on 09 Dec 2009, 10:23 AM
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

Thx

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 11 Dec 2009, 09:26 AM
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,
Nikolay
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.
Tags
Dock
Asked by
grahame mcgirr
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or