AutoSize Width 100%

2 posts, 0 answers
  1. eglvz
    eglvz avatar
    1 posts
    Member since:
    Jul 2012

    Posted 12 Jul 2012 Link to this post


    I need put the size of the command bar to 100%.

    Is there any property to do this?

  2. Stefan
    Stefan avatar
    2891 posts

    Posted 16 Jul 2012 Link to this post


    Thank you for writing.

    I assume that you want to extend a strip width to cover the whole command bar area. If so, this can be done by setting the StretchHorizontally property of the last strip element in a CommandBarRowElement to true:
    radCommandBar1.Rows[0].Strips[radCommandBar1.Rows[0].Strips.Count-1].StretchHorizontally = true;

    I hope this helps.

    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  3. DevCraft banner
Back to Top