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

Disable close, floating button for Dock Panel

5 Answers 529 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Ching-Yen
Top achievements
Rank 1
Ching-Yen asked on 25 Apr 2008, 11:41 AM
Hi,

May I know how can i Hide/Disable (prefer hide) the 3 button on top of each dock panel?

Please advice.

Regards,
Ching-Yen Beh

5 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 25 Apr 2008, 01:14 PM
Hello Ching-Yen,

To hide the system buttons of DockPanel object you can set to false the following properties:

dockPanel1.CloseButtonVisible = false;
dockPanel1.HideButtonVisible = false;
dockPanel1.DropDownButtonVisible = false;

I hope this was helpful. If you have additional questions, please contact us.

 
Regards,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Eric
Top achievements
Rank 1
answered on 08 Nov 2011, 11:51 PM
These properties do not exist in the version I'm using 2009 Q3. Could you please provide assistance on how to do this for my version? Thanks.
0
Julian Benkov
Telerik team
answered on 11 Nov 2011, 06:32 PM
Hello Eric,

This property is valid for the deprecated DockingManager control. For the RadDock control you can use ToolCaptionButtons property:

this.toolWindow1.ToolCaptionButtons = ToolStripCaptionButtons.None;

To show all system buttons, you can use:
this.toolWindow1.ToolCaptionButtons = ToolStripCaptionButtons.Close | ToolStripCaptionButtons.AutoHide | ToolStripCaptionButtons.SystemMenu;

Greetings,
Julian Benkov
the Telerik team

Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

0
Eric
Top achievements
Rank 1
answered on 11 Nov 2011, 07:00 PM
I do not have that property. I have ToolTipTextNeeded and ShowItemToolTips but noToolCaptionButtons. I do however, have the enumeration for ToolStripCaptionButtons
0
Julian Benkov
Telerik team
answered on 16 Nov 2011, 10:42 AM
Hi Eric,

I made a test with Q3 2009 release with RadDock control that support this functionality. Please view the attached screenshots for details.

Greetings,
Julian Benkov
the Telerik team

Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

Tags
Dock
Asked by
Ching-Yen
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Eric
Top achievements
Rank 1
Share this question
or