Hello. When I setting up Width and Height and WindowStartupLocation.CenterOwner - everything is OK - window is starting in the center.
But if I setting up MaxWidth/MaxHeight
and load data and window becoms at Max Sizes it is sliding to the right bottom corner of the screen. Is it possible to relocate window after data loaded?
But if I setting up MaxWidth/MaxHeight
private
void
SetSizes()
{
MinWidth = 600;
MinHeight = 400;
MaxHeight = 9 * Application.Current.Host.Content.ActualHeight / 10;
MaxWidth = 6 * Application.Current.Host.Content.ActualWidth / 7;
}