Docking windows when showcaption=false

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

Thanks,

1 Reply

ST Sameer Tupe 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,

Loader.
Up arrow icon