Command bar overflow layout

2 posts, 0 answers
  1. Matthew Muder
    Matthew Muder avatar
    1 posts
    Member since:
    Feb 2010

    Posted 11 May 2012 Link to this post


    I've got a RadCommandBar with a horizontal layout, how do I make the overflow panel list the overflow items vertically ? I only want one item to appear per row in the overflow drop down.

  2. Stefan
    Stefan avatar
    2911 posts

    Posted 15 May 2012 Link to this post

    Hello Matthew,

    Thank you for writing.

    Here is the code which will allow you to change the orientation of the desired overflow menu:
    ((RadCommandBarOverflowPanel)radCommandBar1.Rows[0].Strips[0].OverflowButton.OverflowPanel.Layout).Orientation = Orientation.Vertical;

    As you can see, you need to apply this setting at Strip level.

    I hope this helps.

    Kind regards,
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top