PS
Prakash S
Syncfusion Team
July 18, 2002 12:54 PM UTC
Arif,
The DockStateChanging and DockStateChanged are just notification events and do not allow you to cancel the operation. To interrupt dock operations, you will have to provide a handler for the DockingManager.DockAllow event and based on the DockAllowEventArgs parameter, either allow or cancel the event. The DockAllow event will only enable you customize dock/dock-in-float operations. The controls will still be free to float as a unique floating window.
Handling this event is demonstrated in the DockingWindows\SDIDemo sample.
Prakash
Syncfusion, Inc.