src/Foundation/Presentation/Gimela.Presentation.Controls/Controls/MDI/MDIChild.cs
/// <summary>
/// Handles the DragDelta event of the ResizeLeft 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 ResizeLeft control.
Handles the DragDelta event of the ResizeLeft control .
private void ResizeLeft_DragDelta(object sender, DragDeltaEventArgs e)
    {
      if (Width - e.HorizontalChange < MinWidth)
        return;
      double newLeft = e.HorizontalChange;
      if (Position.X + newLeft < 0)
        newLeft = 0 - Position.X;
      Width -= newLeft;
      Position = new Point(Position.X + newLeft, Position.Y);
      if (sender != null)
        Container.InvalidateSize();
    }
private void ResizeLeft_DragDelta ( object sender , DragDeltaEventArgs e ) { if ( Width - e . HorizontalChange < MinWidth ) return ; double newLeft = e . HorizontalChange ; if ( Position . X + newLeft < 0 ) newLeft = 0 - Position . X ; Width -= newLeft ; Position = new Point ( Position . X + newLeft , Position . Y ) ; if ( sender != null ) Container . InvalidateSize ( ) ; }
Handles the DragDelta event of the ResizeLeft control.
Handles the DragDelta event of the ResizeLeft 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 .