public override void SetAnchorCursor(GraphicElement el) { ShapeAnchor anchor = el.GetAnchors().FirstOrDefault(a => a.Near(mousePosition)); canvas.Cursor = anchor == null ? Cursors.Arrow : anchor.Cursor; }