Example #1
0
 private void AdjustWidth(double dx, global::Avalonia.Controls.Dock dock)
 {
     if (dock == global::Avalonia.Controls.Dock.Right)
     {
         dx = -dx;
     }
     SetTargetWidth(dx);
 }
Example #2
0
 private void AdjustHeight(double dy, global::Avalonia.Controls.Dock dock)
 {
     if (dock == global::Avalonia.Controls.Dock.Bottom)
     {
         dy = -dy;
     }
     SetTargetHeight(dy);
 }