/// <summary> /// Initializes a new instance of the <see cref="ResizeController"/> class. /// </summary> /// <param name="resizableElement">The resizable element.</param> public ResizeController(IResizableElement resizableElement) { if (resizableElement == null) throw new ArgumentNullException("resizableElement"); element = resizableElement; anchor = ResizeAnchor.None; ResizingArea = ResizingAreaDefaultValue; }
/// <summary> /// Initializes a new instance of the <see cref="ResizeController"/> class. /// </summary> /// <param name="resizableElement">The resizable element.</param> public ResizeController(IResizableElement resizableElement) { if (resizableElement == null) { throw new ArgumentNullException("resizableElement"); } element = resizableElement; anchor = ResizeAnchor.None; ResizingArea = ResizingAreaDefaultValue; }