Category / Section
How can I raise the event when I drag the DockingWindow and when I end the dragging ?
4 mins read
DockingManager support these type of events. You can handle the event that will occurred when the DockingWindow start dragging and stop dragging. These event can be included while creating the DockingManager as :
[XAML]
<Syncfusion:DockingManager Name="DockingManager" WindowDragEnd="DockingManager_WindowDragEnd" WindowDragStart="DockingManager_WindowDragStart" />
Th event of the above code can be handled as :
[C#]
private void DockingManager_WindowDragStart(object sender, RoutedEventArgs e) { MessageBox.Show("You have started the Dragging"); } private void DockingManager_WindowDragEnd(object sender, RoutedEventArgs e) { MessageBox.Show("You have stopped the Dragging"); }