There are several ways to position the RadWindow prior to opening:
To learn how to preserve the size and the location for each state of the RadWindow read this section.
The WindowStartupLocation property is an enumeration that provides you with the following values:
CenterScreen - positions the RadWindow in the center of the screen, when opened.
CenterOwner - positions the RadWindow in the center of its owner, if any.
The Owner property specifies the control, that owns the RadWindow. When having the CenterOwner enumeration value, the RadWindow will get centered relatively to its owner.Note that the Owner property should be of type RadWindowor WPF Window.
If you assign the Owner to be a RadWindow, make sure that you have opened the owner window prior to opening the child. Otherwise, you will get an InvalidOperationException.
- Manual - positions the RadWindow in the top-left corner of the screen. (default)
When having the WindowStartupLocation set to Manual you can use the Top and Left properties to specify the absolute distance in pixels from the most top left corner of the page.
When having the WindowStartupLocation set to CenterScreen or CenterOwner you can use the TopOffset and LeftOffset properties to specify the offset distance in pixels from the top left corner of RadWindow.
You can use these properties to cascade the windows in your application.
The RestoreMinimizedLocation property allows the RadWindow to store its size and position for the Normal and the Minimized states. For example, if you minimize a window in the center of the screen and then drag it to the leftmost corner, RadWindow will store its position separately. Thus, if you restore the RadWindow to Normal, it will appear in the center of the screen, respectively if you minimize it, it will get positioned in the leftmost corner.
To learn more about the States of the RadWindow read here.