Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3455
Can we add a separator in between ButtonTool of a Ribbon Control
posted

Hi,

Can any one know how to add a separator in between ButtonTool control of a Ribbon.

In Toolbar we can insert the separator, similar to that.

Regards,

Ceaser

Parents
  • 5389
    Suggested Answer
    posted

    Ceasar,

    In order to add a separator before a ButtonTool, set its IsFirstInGroup property to True.  In code it would look something like:

                ButtonTool btn = (ButtonTool)this.ultraToolbarsManager1.Ribbon.Tabs[0].Groups["RibbonGroup2"].Tools["ButtonTool5"];
                btn.InstanceProps.IsFirstInGroup = true;

     

    Hope this helps,

    ~Kim~

Reply Children
No Data