src/Foundation/Presentation/Gimela.Presentation.Controls/Controls/MDI/MDIChild.cs
/// <summary>
/// Handles the DragDelta event of the dragThumb control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="System.Windows.Controls.Primitives.DragDeltaEventArgs"/> instance containing the event data.</param>
Handles the DragDelta event of the dragThumb control.
Handles the DragDelta event of the dragThumb control .
private void dragThumb_DragDelta(object sender, DragDeltaEventArgs e)
    {
      if (WindowState == WindowState.Maximized)
        return;
      double newLeft = Position.X + e.HorizontalChange,
          newTop = Position.Y + e.VerticalChange;
      if (newLeft < 0)
        newLeft = 0;
      if (newTop < 0)
        newTop = 0;
      Position = new Point(newLeft, newTop);
      Container.InvalidateSize();
    }
private void dragThumb_DragDelta ( object sender , DragDeltaEventArgs e ) { if ( WindowState == WindowState . Maximized ) return ; double newLeft = Position . X + e . HorizontalChange , newTop = Position . Y + e . VerticalChange ; if ( newLeft < 0 ) newLeft = 0 ; if ( newTop < 0 ) newTop = 0 ; Position = new Point ( newLeft , newTop ) ; Container . InvalidateSize ( ) ; }
Handles the DragDelta event of the dragThumb control.
Handles the DragDelta event of the dragThumb control .
sender
object
The source of the event.
The source of the event .
e
DragDeltaEventArgs
The  instance containing the event data.
The instance containing the event data .