This is a migrated thread and some comments may be shown as answers.

Maximized radwindow with MinWidth and MinHeight

2 Answers 222 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jackey
Top achievements
Rank 1
Jackey asked on 24 Dec 2014, 02:10 PM
Hi team,

I have following RadWindow being maximized when starting up. Pay attention to the property MinHeight, MinWidth and WindowState. However, its result looks like shown in the attached file. It's quite odd. Help.
<telerik:RadWindow x:Class="WindowAsMainSimple.MainWindow"
        xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls.Navigation;assembly=Telerik.Windows.Controls.Navigation"
        telerikNavigation:RadWindowInteropHelper.ShowInTaskbar="True"
        WindowStartupLocation="CenterScreen"
        Header="MainRadWindow" MinHeight="800" MinWidth="1220" WindowState="Maximized">     

2 Answers, 1 is accepted

Sort by
0
Accepted
Nasko
Telerik team
answered on 29 Dec 2014, 08:06 AM
Hello Jingfei,

We are already aware of the explained behavior of RadWindow and it has already been logged in our Feedback portal - you could easily track its status on the following link:
 http://feedback.telerik.com/Project/143/Feedback/Details/125914-radwindow-is-not-maximized-properly-if-it-does-not-have-initial-width-and-height

There is an easy workaround we could suggest you -  the Height and Width properties of RadWindow should be set with some initial values:

<telerik:RadWindow
             ...
             telerikNavigation:RadWindowInteropHelper.ShowInTaskbar="True"
             WindowStartupLocation="CenterScreen"
             Header="MainRadWindow" MinHeight="800" MinWidth="1220"
             Width="1220" Height="800" WindowState="Maximized">
</telerik:RadWindow>

We apologize for any caused inconvenience and hope that the proposed workaround will work for you.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Jackey
Top achievements
Rank 1
answered on 28 Jan 2015, 08:13 AM
Thanks Nasko,

It works perfectly. 

Wishes,
Jingfei
Tags
Window
Asked by
Jackey
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Jackey
Top achievements
Rank 1
Share this question
or