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

How to set vertical orientation?

7 Answers 259 Views
CommandBar
This is a migrated thread and some comments may be shown as answers.
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
Giovanni asked on 24 Oct 2012, 02:09 PM
Hi,
I know that RadCommandBar supports horizontal and vertical orientation, but how can I set vertical orientation?

7 Answers, 1 is accepted

Sort by
0
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
answered on 26 Oct 2012, 12:57 PM
Nobody knows?
0
Hamidreza
Top achievements
Rank 1
answered on 27 Oct 2012, 12:12 PM
set dock to right or left.
0
Stefan
Telerik team
answered on 29 Oct 2012, 09:36 AM
Hi Giovanni,

Thank you for writing.

The orientation in RadCommandBar can be set via the Orientation property of the desired CommandBarStripElement:
radCommandBar1.Rows[0].Strips[0].Orientation = Orientation.Vertical;

I hope this helps.
 
Regards,
Stefan
the Telerik team
Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
answered on 29 Oct 2012, 03:49 PM
Thank you to all!
0
Rifat
Top achievements
Rank 1
answered on 01 Aug 2013, 07:04 AM
Hi Stefan,

I have a problem too,   have a radCommandBar which oriantation is vertical. And I have a few  ToggleButton in my CommadBar. My all buttons are vertical.
the problem is that all buttons texts don't seem.  it just seems 1 or 2 character of the all  buttons text.
What can I do?

Thanks.
0
Stefan
Telerik team
answered on 05 Aug 2013, 01:17 PM
Hello Rifat,

Thank you for writing.

I have looked into this case and I can confirm there is an issue with this case. I have added it to our 
Public Issue Tracking System. Feel free to add your vote and subscribe for its status change alerts here: http://www.telerik.com/support/pits.aspx#/public/winforms/15509.

For the time being, please use the following code to convert the text of the button:
CommandBarToggleButton toggleButton = new CommandBarToggleButton();
toggleButton.Text = "some text";
toggleButton.DrawText = true;
toggleButton.Orientation = Orientation.Vertical;
toggleButton.AngleTransform = 90;
toggleButton.TextImageRelation = TextImageRelation.ImageBeforeText;
radCommandBar1.Rows[0].Strips[0].Items.Add(toggleButton);

I have updated your 
Telerik Points for this report.

I hope that you find this information useful.
 

Regards,
Stefan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Stefan
Telerik team
answered on 07 Aug 2013, 06:16 AM
We have double checked the issue and unfortunately, the proposed fix will not work as suggested. In fact, there is no workaround for the issue that we can offer and for this reason we will increase its priority and we will try to resolve it for the Q3 2013 release.
 

Regards,
Stefan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
CommandBar
Asked by
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
Hamidreza
Top achievements
Rank 1
Stefan
Telerik team
Rifat
Top achievements
Rank 1
Share this question
or