I am Using AvalonDock in a WPF project. And I would like to konw how to handle the Docking and Undocking event. i have tried MouseDown and Up while Dragging but no apparent success.
...
<ad:DockingManager x:Name="dockManager" Grid.Row="2" Margin="0,25,0,0" Background="Transparent" >
<ad:ResizingPanel Orientation="Vertical" >
<ad:ResizingPanel Orientation="Horizontal" >
<ad:DocumentPane Background="Transparent">
<ad:DocumentContent Title="Document View!">
<Grid Background="Transparent">
<Rectangle Name="rect_Zoom" Grid.Row="2" MouseLeftButtonDown="rect_Zoom_MouseDown" MouseMove="rect_Zoom_MouseMove" MouseWheel="rect_Zoom_MouseWheel" MouseUp="rect_Zoom_MouseUp" />
...