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
close icon

Get Close event for docked control

Hi,
I have an application like shown in sameple at http://www2.syncfusion.com/ug/Default.aspx##Essential%20Studio.chm/DockingWindows/ThroughCode.html

Now, if any one of the controls (ListBox2 or TreeView) is closed , by clicking the close button on that control (the form remains open only one of the controls is closed). I want to track that event and do something (suppose show a confermation dialog to user). Please let me know what event can i use.

Thanks
Abhijeet.

2 Replies

RF Rashidha F Syncfusion Team July 12, 2007 01:28 PM UTC

Hi Abhijeet,

Thanks for using Syncfusion Products.

You can achieve your requirements using dockingManager1_DockVisibilityChanged Event, and Treeview_Leave events in your application.

Plaese refer the attached sample.

http://websamples.syncfusion.com/samples/Tools.Windows/F63899/main.htm

Please let me know if this helps.

Thanks and Regards,
Rashidha.


RF Rashidha F Syncfusion Team July 12, 2007 01:29 PM UTC

Hi Abhijeet,

Thanks for using Syncfusion Products.

You can achieve your requirements using dockingManager1_DockVisibilityChanged Event, or Treeview_Leave events in your application.

Plaese refer the attached sample.

http://websamples.syncfusion.com/samples/Tools.Windows/F63899/main.htm

Please let me know if this helps.

Thanks and Regards,
Rashidha.

Loader.
Live Chat Icon For mobile
Up arrow icon