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

Width of statusstrip when using panelbar

1 Answer 50 Views
StatusStrip
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 29 Apr 2009, 04:04 AM
Hi Guys

I'm using a MDI parent with a panel bar and a status strip.

The status strip occupies the width of the form from the right hand edge of the panel bar (docked on the left of the form ) to the right hand edge of the form.

I want it to be full width of the form and the panel bar to occupy the height from the top edge of the status strip to the top of the form.

How do I do that ? I've searched in vain for a magic property!

Thanks in advance

Bob bailey

1 Answer, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 01 May 2009, 11:55 AM
Hi Bob,

Thank you for writing.

The docking mechanism depends on the sequence by which the controls are added. Try swapping the code for adding RadPanelBar and RadStatusStrip in your Form.Designer.cs. RadStatusStrip should be before RadPanelBar:
this.Controls.Add(this.radStatusStrip1);  
this.Controls.Add(this.radPanelBar1);  
 

Do not hesitate to contact me again if you have other questions.

Greetings,
Martin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
StatusStrip
Asked by
Bob
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Share this question
or