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

get help about tool window on radDock

2 Answers 54 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Omid
Top achievements
Rank 1
Omid asked on 11 Nov 2012, 09:57 PM
hi telerik
as you know default item of drop down menu on a tool window is checked 'Dockable' how can i chang it to 'auto Hide' by default?

thank u

2 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 13 Nov 2012, 02:28 PM
Hi Omid,

Thank you for writing.

In order to change the default dock state of a window, you should set its DockState property:
toolWindow1.DockState = Telerik.WinControls.UI.Docking.DockState.AutoHide;

More information about how to create a RadDock at Runtime and which are the allowed dock states can be found here: Creating a RadDock at Runtime and AllowedDockStates.

I hope this helps.

Regards,
Plamen
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Omid
Top achievements
Rank 1
answered on 14 Nov 2012, 06:12 PM
hi dear Plamen 

thank u for your reply i used that and works .

Tags
Dock
Asked by
Omid
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Omid
Top achievements
Rank 1
Share this question
or