Hi.
Using RadControls_for_Silverlight_4_2010_2_0812 and an out-of-browser silverlight application, setting WindowStartupLocation to CenterScreen may not always show the RadWindow centered unless a width and height are specified on the RadWindow.
I tried setting WindowStartupLocation in xaml, code-behind, and both without specifying a width and height on the RadWindow and the RadWindow would show up in the bottom right-hand corner of the silverlight application at random times, but most of the time it would be centered as expected.
After specifying width and height values in the RadWindow's xaml, the RadWindow would always appear centered as expected.
This seems to be a bug, but the work-around seems viable.
I have not tried setting the width and height value in the RadWindow's code-behind or using a WindowStartupLocation of CenterOwner for example to test for different behaviors.
Thank you.
Using RadControls_for_Silverlight_4_2010_2_0812 and an out-of-browser silverlight application, setting WindowStartupLocation to CenterScreen may not always show the RadWindow centered unless a width and height are specified on the RadWindow.
I tried setting WindowStartupLocation in xaml, code-behind, and both without specifying a width and height on the RadWindow and the RadWindow would show up in the bottom right-hand corner of the silverlight application at random times, but most of the time it would be centered as expected.
After specifying width and height values in the RadWindow's xaml, the RadWindow would always appear centered as expected.
This seems to be a bug, but the work-around seems viable.
I have not tried setting the width and height value in the RadWindow's code-behind or using a WindowStartupLocation of CenterOwner for example to test for different behaviors.
Thank you.