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.

Docking Manager events

Thread ID:

Created:

Updated:

Platform:

Replies:

11415 Mar 5,2004 01:56 AM Mar 5,2004 08:42 AM Windows Forms 1
loading
Tags: Tools
Slim Shady
Asked On March 5, 2004 01:56 AM

How can i handle the event that occurs when an user clicks on the tab of docked control in docking manager? For example there are three docked controls inside - A,B and C. I want to handle the moment in which used clicks on the tab A , tab B ana tab C. regards

Administrator [Syncfusion]
Replied On March 5, 2004 08:42 AM

Hi, I assume you have a set of docking windows docked as a tabbed group, and wish to capture the event when a particular tab is clicked. Presently there is no event available for this purpose, but you could do so as shown in the steps below : 1. Handle the DockingManager''s DockControlActivated event to get the activated control. 2. Check to see if this control belongs to a tabbed group as shown in the code below : private bool TabbedGroupCheck(Control ctrl) { Syncfusion.Windows.Forms.Tools.DockHost dhost = ctrl.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) { return true; } return false; } 3. If so get the docked control, and do the desired task. Please refer to the sample application that shows how this can be done. Let me know if you need further assistance. We appreciate your interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

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.

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.

;