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

Basic ResizeMode=ResizeMode.CanResizeWithGrip doesn't seem to work

6 Answers 559 Views
Window
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 13 Jan 2011, 11:28 PM
I'm not getting any kind of resize grip in the bottom right corner of the window as the ResizeMode property description says:

ResizeMode.CanresizeWithGrip - "A window can be resized.  The Minimize and Maximize buttons are both shown and enabled.  A resize-grip appears in the bottom right corner of the window."

No such grip appears anywhere.

Here are my RadWindow settings:

                window.Content = myContent;
                window.Header = "myContent Header";
                window.CanMove = true;
                window.ResizeMode = ResizeMode.CanResizeWithGrip;
                window.CanClose = false;
                window.WindowStartupLocation = WindowStartupLocation.CenterScreen;
                window.Width = 400;
                window.Height = 300;
                window.Show();

My Telerik.Windows.Controls dll version is: 2010.1.603.35

Am I doing something wrong?

6 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 18 Jan 2011, 01:21 PM
Hi David,

We use the default ResizeMode enumeration, but CanResizeWithGrip is not supported in RadWindow. That is way in the later versions is removed.
Sorry for any inconvenience caused.

Please let us know if you have further questions.

Regards,
Konstantina
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
David
Top achievements
Rank 1
answered on 18 Jan 2011, 04:37 PM
So there's no way to make it so the rad window dimensions can be resized by the user? (other than maximize, minimize).
0
Konstantina
Telerik team
answered on 19 Jan 2011, 11:46 AM
Hi David,

The RadWindow can be resized from the user, you don't need to specify any ResizeMode for that. In each corner of the window there are resize thumbs, which are displayed as arrow. You can try it out in our online demos: http://demos.telerik.com/wpf/?Window/FirstLook.

Hope this helps. Please let us know if you have further questions.

Regards,
Konstantina
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
David
Top achievements
Rank 1
answered on 19 Jan 2011, 07:52 PM
I don't see any such resize grips on my modal window.  That's not working for me.
0
David
Top achievements
Rank 1
answered on 19 Jan 2011, 08:06 PM
I figured out what it was.  Basically if you set the ResizeMode to anything but "CanResize" then you won't get arrows on the border of the window allowing users to manually size the window to their liking.  CanResizeWithGrip for example doesn't provide that.  I would strongly suggest that Telerik fix this, because I see this as a bug.  This same problem can be seen in the online demo of the rad window in the Window > Configurator example.

This is the way I would suggest it work:

CanResize = The user can maximize/minimize to their liking but no arrows show up when trying to resize the window borders
CanResizeWithGrip = The user can maximize/minimize to their liking and arrows DO show up when trying to resize the window borders.

I also personally view the inability to mix and match settings as a flaw, as well.  For example, if I choose "ResizeMode = ResizeModes.CanResize" then I am forced to also have my window be minimizeable.  What if I don't want my window to be minimized but I do want the user to be able to manually resize it by hovering over the window border?

Overall this is a great control for the WPF toolkit but the ResizeMode property as it currently is, is very confusing and needs work.  I know I can go through and customize the template to adjust to my needs, but something as trivial as this should not call for that.  That's rediculous (imo).

Thanks for your assistance.
0
Boyan
Telerik team
answered on 25 Jan 2011, 09:03 AM
Hi David,

We are considering to provide new separate properties that will control Maximize and Minimize, for example CanMinimize and CanMaximize. So it is not that confusing and you are able to disable Minimizing and Maximizing without stopping the resize with Grip. But we will consider your suggestion as well. We hope the change will be implemented for Q1.

Thank you for your feedback. If you have further questions please let us know.

Regards,
Boyan
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
Window
Asked by
David
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
David
Top achievements
Rank 1
Boyan
Telerik team
Share this question
or