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 and tabs

Thread ID:

Created:

Updated:

Platform:

Replies:

68306 Sep 17,2007 02:34 PM UTC Sep 26,2007 09:55 PM UTC WinForms 1
loading
Tags: Tools
kaiser
Asked On September 17, 2007 02:34 PM UTC

hi,

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

Ramu [Syncfusion]
Replied On 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

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

;