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. Image for the cookie policy date

docking and tabs

hi,

I want to create a multi tabbed workspace and dock and restrict certain controls to tabs, is this possible, and how?

1 Reply

RA Ramu Syncfusion Team September 26, 2007 09:55 PM UTC

Hi kaiser,

Please add the below code snippet to the DockAllow event in the docking manager control.

C# code:
=========
//Check if it tries to dock with Tabbed style for the specific control and cancel the event.
if(arg.DockStyle==DockingStyle.Tabbed && arg.TargetControl.Name=="listview1")
arg.Cancel =true;

Canceling the event for the particular control will stop the control from tatabbed to the other control.

Please let me know if you need any further assistence.

Thanks,
Ramu

Loader.
Live Chat Icon For mobile
Up arrow icon