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 display the text in the Ribbon Tab in an embossed style
posted

Hi,

Does any one know how to give a style for the RibbonTab text.

regards,

Ceaser

  • 5389
    Suggested Answer
    posted

    Ceaser,

    You can style the RibbonTab text by setting FontData in the TabAreaAppearance object.  There are two different ways to accomplish this.  If you want to style all tabs the same way, you can use code similar to:

                this.ultraToolbarsManager1.Ribbon.TabAreaAppearance.FontData.Bold = Infragistics.Win.DefaultableBoolean.False;

    If you want to style a single tab, you can use code similar to:

                this.ultraToolbarsManager1.Ribbon.Tabs[0].Settings.TabItemAppearance.FontData.Italic = Infragistics.Win.DefaultableBoolean.True;

    Hope this helps,

    ~Kim~