RadWindow can't move

2 posts, 0 answers
  1. ofer alper
    ofer alper avatar
    21 posts
    Member since:
    Nov 2009

    Posted 19 Nov 2009 Link to this post

    Hi,

    I created a rad window. Its canMove property is true, but i can't move it. Only after i minimize it i can mover it.
    I first open RadGridView and then open a RadWindow

                RadWindow window = new RadWindow();
                window.Height = 300;
                window.Width = 300;
                window.CanMove = true;
                window.Header = "ofer test";
                window.WindowState = WindowState.Maximized;
                window.WindowStartupLocation = WindowStartupLocation.CenterScreen;
                window.Show();

    Thanks,
    Ofer
  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 20 Nov 2009 Link to this post

    Hello Ofer,

    You cannot move it, because it is maximized and the windows cannot be moved when maximized. You could try to set its WindowState property to WindowState.Normal instead to WindowState.Maximized.

    Greetings,
    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top