Example #1
0
 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();
 }
Example #2
0
 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}";
 }