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

RadDock : Undockable center window

5 Answers 116 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Julien
Top achievements
Rank 1
Julien asked on 20 Jul 2009, 08:27 PM
Hi , I try to use the 2009 Q2 RadDock control.
Is it possible to create a layout witch have all theses properties:
1. Have a unique center window or panel witch cannot be closed
2. Where the others docking windows won't dock on top / behind the center window but only around it.
3. the center window have no visible docking header.

5 Answers, 1 is accepted

Sort by
0
Mercell
Top achievements
Rank 2
answered on 22 Jul 2009, 01:33 PM
I'm looking for the excact same thing.

Also isn't it possible to have only ToolTabStrips in a RadDock? If I add up two ToolWindows one of them is automatically put in a DocumentTabStrip looking different than the ToolTabStrip and I'm not able to hide the caption like I can in a ToolTabStrip. DocumentTabStrips can't be set to AutoHide either.

Thanks,
Brian
0
Accepted
Nikolay
Telerik team
answered on 23 Jul 2009, 04:58 PM
Hello Bo,

You can find the answers to your questions in the support ticket that you have opened: Window tab strips changes at runtime.

You can have a ToolWindow without a caption by setting the CalptionVisible of its ToolTabStrip to false. If you do not want to hide the ToolWindow, you can set appropriate AllowedDockState:
private void Form1_Load(object sender, EventArgs e)  
{  
    this.toolWindow1.AllowedDockState = AllowedDockState.Docked;  
    ((ToolTabStrip)this.toolWindow1.TabStrip).CaptionVisible = false;  

Currently, the second point of your scenario is not possible. However, we will support such scenario in Q2 2009 SP1.

If you have additional questions, feel free to contact me.

Kind regards,
Nikolay
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Julien
Top achievements
Rank 1
answered on 23 Jul 2009, 07:20 PM
Thank, I gess I will wait for this SP1 version.
0
Ming Zhao
Top achievements
Rank 1
answered on 15 Feb 2011, 03:31 PM
It seems that there are five defined docked position for a toolwindow: top, bottom, left, right and fill.

Question,  is it possible to disable any of those dock position at run time or design time so that a toolwindow is not able to dock to the disabled position but able to dock to other positions which are enabled.  We are particularly interested in disabling fill dock position.
0
Nikolay
Telerik team
answered on 15 Feb 2011, 04:02 PM
Hello Ming,

Thank you for writing.

Please refer to the following documentation article which concerns the topic of allowing only certain dock positions: Using the DragDropService.

I hope that you will find this information helpful.

Greetings,
Nikolay
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
Tags
Dock
Asked by
Julien
Top achievements
Rank 1
Answers by
Mercell
Top achievements
Rank 2
Nikolay
Telerik team
Julien
Top achievements
Rank 1
Ming Zhao
Top achievements
Rank 1
Share this question
or