public IControl CreateResizeControl(CanvasItem itemToResize, IUserInputReceiver parent, IEdgeSnappingEngine snappingEngine)
 {            
     return new ControlAdapter(new ResizeControl
            {
                CanvasItem = itemToResize, FrameOfReference = parent, SnappingEngine = snappingEngine
            });
 }
 public ResizeControl(CanvasItem itemToResize, IInputElement parent, IEdgeSnappingEngine snappingEngine)
 {
     SnappingEngine = snappingEngine;
     FrameOfReference = parent;
     CanvasItem = itemToResize;
 }
 public IControl CreateResizeControl(CanvasItem itemToResize, IUserInputReceiver parent, IEdgeSnappingEngine snappingEngine)
 {
     return new ControlAdapter(new ResizeControl(itemToResize, parent, snappingEngine));
 }
 public EdgeAdorner([NotNull] UIElement adornedElement, CanvasItem item, Edge edge)
     : base(adornedElement, item)
 {
     Edge = edge;
 }