I'm opening a window using WindowStartupLocation = WindowStartupLocation.CenterParent (see the full code below). When I resize the window it resizes from the middle of the screen so that when I drag the bottom right corner, all the other corners move around as well. This seems strange. Is there a workaround for this?
Code:
Code:
var window = new RadWindow(); |
window.WindowStartupLocation = WindowStartupLocation.CenterParent; |
window.WindowState = WindowState.Normal; |
window.ResizeMode = ResizeMode.CanResize; |
window.Width = 640; |
window.Height = 480; |
window.ShowDialog(); |