private void DockingManager_WindowMoving(object sender, WindowMovingEventArgs e) { //Log.TextWrapping = TextWrapping.Wrap; //Log.Text = Log.Text + "The Window " + DockingManager.GetHeader(sender as DependencyObject) + " X position : " + e.X + "\n"; //Log.Text = Log.Text + "The Window " + DockingManager.GetHeader(sender as DependencyObject) + " Y position : " + e.Y + "\n"; //Scroll.ScrollToBottom(); }
private void MainWindow_Moving(object sender, WindowMovingEventArgs e) { debugTBox.Text = $"Height: { this.Height } Width: { this.Width }\n " + $"Top: {e.NewPosition.Top} Left:{e.NewPosition.Left}"; }