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

Prevent resize when drag attempted

1 Answer 19 Views
Window
This is a migrated thread and some comments may be shown as answers.
Justin Lee
Top achievements
Rank 1
Justin Lee asked on 12 Dec 2013, 05:54 PM
Hello,

If you set the following properties on a RadWindow:
    CanMove = False
    WindowState = Maximized
    ResizeMode = NoResize

you get a window that is maximized, and the user cannot minimize, resize, or move it.  However, if you grab the header bar (like you were going to drag it) it will return to the "normal" state.  I want the window to ALWAYS be maximized.

This can be reproduced in your demo:
http://demos.telerik.com/silverlight/#Window/Configurator
- Uncheck CanMove
- Set ResizeMode to NoResize
- Set WindowState to Maximize
Then grab the header -- the window will shrink to the "Normal" size.

What can I do to avoid this?

Thanks,
Justin

1 Answer, 1 is accepted

Sort by
0
Justin Lee
Top achievements
Rank 1
answered on 12 Dec 2013, 05:58 PM
Sorry, I found another post with a solution as soon as I made this post.
http://www.telerik.com/community/forums/silverlight/window/radwindow-fullscreen-nomove-noresize.aspx

The suggestion worked just fine.

Thanks,
Justin
Tags
Window
Asked by
Justin Lee
Top achievements
Rank 1
Answers by
Justin Lee
Top achievements
Rank 1
Share this question
or