/* Bewegt ein bereits bestehendes Item item an eine andere Position (x,y) */ public void moveItem(UIElement item, int x, int y) { Size s = GetTileSize(); double dX = x * s.Width; double dY = y * s.Height; GridCanvas.SetLeft(item, dX); GridCanvas.SetTop(item, dY); SnapToGrid(item); item.InvalidateVisual(); InvalidateVisual(); }