Hi
I have a RadDock control (named dockManager) that I am listening to the drag/drop service on, using the following code in the form's constructor:
I need to determine whether I am dragging a ToolWindow, a DockTabStrip and also determine the type of toolwindow/DockTabStrip
At the risk of asking a stupid question, how do I determine what object I am dragging in dragDrop_Starting event handler and/or dragDrop_PreviewDockPosition?
Thanks in advance
Alan
I have a RadDock control (named dockManager) that I am listening to the drag/drop service on, using the following code in the form's constructor:
DragDropService dragDrop = dockManager.GetService<DragDropService>(); |
dragDrop.DragDropMode = DragDropMode.Preview; |
dragDrop.PreviewDockPosition += new DragDropDockPositionEventHandler(dragDrop_PreviewDockPosition); |
dragDrop.Starting += new StateServiceStartingEventHandler(dragDrop_Starting); |
dragDrop.AllowedStates = AllowedDockState.All & ~AllowedDockState.TabbedDocument; |
I need to determine whether I am dragging a ToolWindow, a DockTabStrip and also determine the type of toolwindow/DockTabStrip
At the risk of asking a stupid question, how do I determine what object I am dragging in dragDrop_Starting event handler and/or dragDrop_PreviewDockPosition?
Thanks in advance
Alan