RadStatusStrip disable resizing

4 posts, 0 answers
  1. Juergen Holzer
    Juergen Holzer avatar
    32 posts
    Member since:
    Mar 2010

    Posted 05 Sep 2011 Link to this post

    Hello!

    I'm using the RadControls 2011Q2 and I want to disable the ability to resize the Form with the RadStatusStrip. I have already disabled the SizingGrip, though I can resize the Form.

    Is there a way using the StatusStrip and the window can only be resized as normal Form-behavior?

    Kind regards
    Juergen
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 08 Sep 2011 Link to this post

    Hi Juergenm,

    You can disable the sizing functionality by removing the grip element from RadStatusStripElement. Please consider the following code snippet:

    foreach (RadElement el in radStatusStrip1.StatusBarElement.Children)
    {
        RadGripElement grip = el as RadGripElement;
        if (grip != null)
        {
            radStatusStrip1.StatusBarElement.Children.Remove(grip);
            break;
        }
    }

    I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us.
     
    All the best,
    Stefan
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. UI for WinForms is Visual Studio 2017 Ready
  4. Juergen Holzer
    Juergen Holzer avatar
    32 posts
    Member since:
    Mar 2010

    Posted 13 Sep 2011 Link to this post

    Thank you very much for your reply! It works as expected.

    Kind Regards
    Juergen
  5. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 15 Sep 2011 Link to this post

    Hi Juergen,

    I am glad that I could help. If there is anything else we can assist you with, do not hesitate to contact us.
     
    Kind regards,
    Stefan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top