public void End(Point posEnd) { if (_resizeCtrl == null) return; _resizeCtrl.OwnerElement.Invalidate(); _resizeCtrl.End(posEnd); //Events var eventResizeArg = new ElementEventArgs(_resizeCtrl.OwnerElement); _onElementResizingDelegate(eventResizeArg); IsResizing = false; }
public void End(Point posEnd) { if (resizeCtrl != null) { resizeCtrl.OwnerElement.Invalidate(); resizeCtrl.End(posEnd); //Events ElementEventArgs eventResizeArg = new ElementEventArgs(resizeCtrl.OwnerElement); onElementResizingDelegate(eventResizeArg); isResizing = false; } }
public void End(Point endPoint) { if (_resizeController != null) { _resizeController.OwnerElement.Invalidate(); _resizeController.End(endPoint); //Events var eventResizeArg = new ElementEventArgs(_resizeController.OwnerElement); _onElementResizingDelegate(eventResizeArg); IsResizing = false; } }