We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hiding docking control captions

Thread ID:





91253 Nov 10,2009 09:18 PM UTC Nov 17,2009 08:57 AM UTC WinForms 2
Tags: Tools
Mike Mann
Asked On November 10, 2009 09:18 PM UTC

Is it possible to hide the caption of a single docked control?

I am aware that all controls associated with a docking manager can have their captions hidden by setting the DockingManager.ShowCaptions property to false, but so far have been unable to find an example of hiding the caption on only one specific docked control.

Mike Mann
Replied On November 10, 2009 10:04 PM UTC

Nevermind, I found my answer.
For anyone else seeking the answer to this question, individual captions can be hidden using the HideCaption property of the DockHostController associated with the control's DockHost.

DockHost dhost = Control.Parent as DockHost;
DockHostController dhc = dhost.InternalController as DockHostController;
dhc.HideCaption = true;

Mano J [Syncfusion]
Replied On November 17, 2009 08:57 AM UTC

Hi Mike,

Thanks for the update.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon