Beispiel #1
0
        private void OnLoaded(object sender, RoutedEventArgs e)
        {
            var point = GetWindowPosition(ActualWidth.RoundToInt(), ActualHeight.RoundToInt());

            Left = point.X;
            Top  = point.Y;
        }