Telerik RadRibbon control

3 posts, 1 answers
  1. Divya
    Divya avatar
    47 posts
    Member since:
    Mar 2011

    Posted 25 Mar 2011 Link to this post

             Iam using a rad ribbon control in that i have added 2 rad groups,in 1st group i have added 3 rad button elements i want to separate each radbutton element with a RadSeperator i tried i was not able to do .So please can anyone explain me how to do place RadSepearator betwen the two RadButton elements.


  2. Answer
    Jack avatar
    25 posts
    Member since:
    Feb 2011

    Posted 29 Mar 2011 Link to this post

    Hi Divya,

    This is how you can add a RibbonBarGroupSeparator.
    1. Add a RadRibbonBarGroup to your ribbonbar.
    2. Add a RadRibbonBarButtonGroup to the RadRibbonBarGroup you just created.
    3. Now add the RadButtonElements and the RibbonBarGroupSeparator alternatively to the RadRibbonBarButtonGroup.

    Check out the attached image to get an idea.
  3. Ivan Petrov
    Ivan Petrov avatar
    717 posts

    Posted 30 Mar 2011 Link to this post

    Hello Divya,

    Thank you for writing.

    You can either use the available separator as Jack has described in his post or you can use the RadHostItem to host a RadSeparatorElement. Consider the following code snippet:

    RadSeparator separator = new RadSeparator();
    separator.Orientation = Orientation.Vertical;
    RadHostItem host = new RadHostItem(separator);
    host.MinSize = new System.Drawing.Size(5, 5);

    I hope this will help you. If you need further assistance, feel free to ask.

    All the best,
    Ivan Petrov
    the Telerik team
Back to Top