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

    Hi,

    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.

    Thanks
  2. Stefan
    Admin
    Stefan avatar
    2891 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,
    Stefan
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top