How to change the font color in RadRibbonBarGroup (WinForms) with code?

1 Answer 7 Views
RibbonBar
Kerry
Top achievements
Rank 1
Kerry asked on 20 Jan 2026, 07:34 PM

I searched and searched and this answer was answered back in 2023 but not from a code perspective.

How do I change the font fore color (via code) for the group caption? CaptionFill is for the backcolor. Got it. I have spent hours trying to find it in this website and searching. Why does Telerik make things so difficult?

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 22 Jan 2026, 08:50 AM

Hello, Kerry,

Your question was already answered in ticket Id: 1708286 that you submitted on the same topic. I want to inform you that tickets are reviewed before forum posts. So, if you have an urgent matter, please submit a ticket through your Telerik account.

I am posting my answer here so that the community can see the reply as well.

You can use the following code snippet to change the font color in the RadRibbonBarGroup with code:

    Dim textElement As TextPrimitive = TryCast((TryCast(Me.radRibbonBarGroup1.CaptionFill.Children(0), DockLayoutPanel)).Children(1), TextPrimitive)
    textElement.ForeColor = Color.Red

Here is also the feedback item: RibbonBar: Expose TextPrimitive property on RadRibbonBarGroup

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
RibbonBar
Asked by
Kerry
Top achievements
Rank 1
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or