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

How to disable the close button of a auto hide toolwindow

1 Answer 192 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 13 Jul 2012, 06:39 AM
Hi telerik

I have a toolwindow on the right, and i disabled the close button and window state button, but the close button and window state button re-appeared after the auto hide action.

Thanks

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 16 Jul 2012, 12:40 PM
Hello Tim,

I am not sure what approach you have followed to hide the buttons. When I am trying the following code snippet:

toolWindow1.ToolCaptionButtons = Telerik.WinControls.UI.Docking.ToolStripCaptionButtons.AutoHide;

with the latest version Q2 2012 everything works as expected as you can see in the attached screenshot.

I hope this helps. Let me know if you have additional questions. Regards,
Nikolay
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
Dock
Asked by
Tim
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or