Class ResizeGesture
A resize in progress: every Update(Point, bool) writes the new attributes through the fast path, so the element follows the pointer live, and the whole gesture is one undo step.
public sealed class ResizeGesture
- Inheritance
-
ResizeGesture
- Inherited Members
- Extension Methods
Properties
Indicator
Gets the area the element will occupy in its container, in the container's local space, as the placement strategy reports it (Indicator); or null when it reports none.
public RectangleF? Indicator { get; }
Property Value
Methods
Cancel()
Abandons the resize and puts everything back, leaving no undo entry.
public void Cancel()
Complete()
Keeps the resize as one undo step.
public EditResult Complete()
Returns
- EditResult
The outcome; when an update failed, the gesture is rolled back and the failure returned.
Update(Point, bool)
Resizes to the pointer at screenPoint.
public void Update(Point screenPoint, bool snap = true)