How to set vertical orientation?

8 posts, 0 answers
  1. Giovanni
    Giovanni avatar
    37 posts
    Member since:
    Feb 2011

    Posted 24 Oct 2012 Link to this post

    Hi,
    I know that RadCommandBar supports horizontal and vertical orientation, but how can I set vertical orientation?
  2. Giovanni
    Giovanni avatar
    37 posts
    Member since:
    Feb 2011

    Posted 26 Oct 2012 Link to this post

    Nobody knows?
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Hamidreza
    Hamidreza avatar
    3 posts
    Member since:
    Sep 2012

    Posted 27 Oct 2012 Link to this post

    set dock to right or left.
  5. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 29 Oct 2012 Link to this post

    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.
  6. Giovanni
    Giovanni avatar
    37 posts
    Member since:
    Feb 2011

    Posted 29 Oct 2012 Link to this post

    Thank you to all!
  7. Rifat
    Rifat avatar
    2 posts
    Member since:
    Jul 2013

    Posted 01 Aug 2013 Link to this post

    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.
  8. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 05 Aug 2013 Link to this post

    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 >>
  9. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 07 Aug 2013 Link to this post

    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 >>
Back to Top
UI for WinForms is Visual Studio 2017 Ready