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

Docking windows when showcaption=false

Thread ID:

Created:

Updated:

Platform:

Replies:

55801 Feb 5,2007 03:16 PM UTC Feb 5,2007 05:18 PM UTC WinForms 1
loading
Tags: Tools
Sameer Tupe
Asked On February 5, 2007 03:16 PM UTC

Hi, I wanted to know..is there any way I can dock
windows by drag drop when showcaption=false at dockingmanager level?

Thanks,

Sameer Tupe
Replied On February 5, 2007 05:18 PM UTC

Got it...essentially I can go at dhc and do that on indivisual tabs...
Syncfusion.Windows.Forms.Tools.DockHost dhost = this.panel1.Parent as Syncfusion.Windows.Forms.Tools.DockHost;

Syncfusion.Windows.Forms.Tools.DockHostController dhc = dhost.InternalController as Syncfusion.Windows.Forms.Tools.DockHostController;

if(dhc.ParentController is Syncfusion.Windows.Forms.Tools.DockTabController)
{
//Accessing the Internal Tab
Syncfusion.Windows.Forms.Tools.DockTabControl docktab = (dhc.ParentController as Syncfusion.Windows.Forms.Tools.DockTabController).TabControl;

//Setting the Font style and color for the selected Tab.
// docktab.ActiveTabFont = new System.Drawing.Font("TimesNewRoman",10,FontStyle.Bold);
docktab.ActiveTabColor= Color.OrangeRed;

//Setting the Font Style for Inactive tab
docktab.InactiveTabColor= Color.LightGreen;
docktab.Font= new System.Drawing.Font("Arial",8);
docktab.ItemSize =new Size( this.Width, 20 );
docktab.LabelEdit = true;
dhc.HideCaption = true;

}

>Hi, I wanted to know..is there any way I can dock
windows by drag drop when showcaption=false at dockingmanager level?

Thanks,

CONFIRMATION

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.

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

;