What is the correct approach to set the position of a object in relevance to the pointer? I have tried
private void TextBlockPressed(object sender, PointerRoutedEventArgs e)
{
var currentPoint = e.GetCurrentPoint(sender as UIElement);
Canvas.SetLeft(element, e.Position.X);
}