Maximized radwindow with MinWidth and MinHeight

3 posts, 1 answers
  1. Jackey
    Jackey avatar
    71 posts
    Member since:
    Oct 2014

    Posted 24 Dec 2014 Link to this post

    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. Answer
    Nasko
    Admin
    Nasko avatar
    585 posts

    Posted 29 Dec 2014 Link to this post

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Jackey
    Jackey avatar
    71 posts
    Member since:
    Oct 2014

    Posted 28 Jan 2015 in reply to Nasko Link to this post

    Thanks Nasko,

    It works perfectly. 

    Wishes,
    Jingfei
Back to Top