Reputation: 4741
How to move a wpf window from c# code? I just dlike to write something like
if(condition) { myWPFWindow.MoveThisWindowSeveralPixelsRight(); }
Upvotes: 0
Views: 337
Reputation: 4996
Modify the Left value.
Left
myWPFWindow.Left += 10;
Upvotes: 2