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

7 posts, 0 answers
  1. David
    David avatar
    38 posts
    Member since:
    Oct 2007

    Posted 13 Jan 2011 Link to this post

    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?
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 18 Jan 2011 Link to this post

    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>>
  3. UI for WPF is Visual Studio 2017 Ready
  4. David
    David avatar
    38 posts
    Member since:
    Oct 2007

    Posted 18 Jan 2011 Link to this post

    So there's no way to make it so the rad window dimensions can be resized by the user? (other than maximize, minimize).
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 19 Jan 2011 Link to this post

    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>>
  6. David
    David avatar
    38 posts
    Member since:
    Oct 2007

    Posted 19 Jan 2011 Link to this post

    I don't see any such resize grips on my modal window.  That's not working for me.
  7. David
    David avatar
    38 posts
    Member since:
    Oct 2007

    Posted 19 Jan 2011 Link to this post

    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.
  8. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 25 Jan 2011 Link to this post

    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>>
Back to Top
UI for WPF is Visual Studio 2017 Ready