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.
Unfortunately, activation email could not send to your email. Please try again.

Hiding docking control captions

Thread ID:





91253 Nov 10,2009 04:18 PM Nov 17,2009 03:57 AM Windows Forms 2
Tags: Tools
Mike Mann
Asked On November 10, 2009 04:18 PM

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 05:04 PM

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 03:57 AM

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.

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.