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

Command bar overflow layout

1 Answer 127 Views
CommandBar
This is a migrated thread and some comments may be shown as answers.
Matthew Muder
Top achievements
Rank 1
Matthew Muder asked on 11 May 2012, 09:47 AM
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

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 15 May 2012, 12:25 PM
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 >>
Tags
CommandBar
Asked by
Matthew Muder
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or