Parameters
- rect
- The rectangle to move.
- offsetX
- The horizontal offset for the new rectangle.
- offsetY
- The vertical offset for the new rectangle.
Return Value
The resulting rectangle.
Exception | Description |
---|---|
System.InvalidOperationException | rect is System.Windows.Rect.Empty. |