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

RadStatusStrip disable resizing

3 Answers 138 Views
StatusStrip
This is a migrated thread and some comments may be shown as answers.
Juergen Holzer
Top achievements
Rank 2
Juergen Holzer asked on 05 Sep 2011, 10:36 AM
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

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 08 Sep 2011, 09:23 AM
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 >>

0
Juergen Holzer
Top achievements
Rank 2
answered on 13 Sep 2011, 08:42 AM
Thank you very much for your reply! It works as expected.

Kind Regards
Juergen
0
Stefan
Telerik team
answered on 15 Sep 2011, 08:43 AM
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 >>

Tags
StatusStrip
Asked by
Juergen Holzer
Top achievements
Rank 2
Answers by
Stefan
Telerik team
Juergen Holzer
Top achievements
Rank 2
Share this question
or