This is a migrated thread and some comments may be shown as answers.

Problem changing font

4 Answers 81 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Payam
Top achievements
Rank 1
Payam asked on 22 Nov 2013, 12:56 PM
Hi
How i can change the font of ribbon and its child items (in WinForm Q3 2013)? 

4 Answers, 1 is accepted

Sort by
0
Payam
Top achievements
Rank 1
answered on 22 Nov 2013, 04:11 PM
I've solved the problem on run-time:

For Each c In rbgDocuments.Items 'rbgDocuments is RibbonbarGroup
  If TypeOf c Is Telerik.WinControls.UI.RadButtonElement Then
    c.TextElement.Font = New Font(Me.Font.FontFamily, 9)
  End If
Next

But I could not change the fonts in design-time and RibbonBarGroup's font.
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 27 Nov 2013, 11:48 AM
Hello Payam,

Thank you for contacting Telerik Support.

You can change Font property for each element at design time via "Properties" area on the right side of the Visual Studio. Please find attached a picture illustrating the exact property.

I hope this information helps. Should you have further questions, I would be glad to help.

Regards,
Desislava
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 >>
0
Payam
Top achievements
Rank 1
answered on 28 Nov 2013, 09:10 PM
Yes, the problem is the following themes:
1. office2010blue
2. metro
3. metroblue

Is there any way to solve this problem?
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 03 Dec 2013, 04:04 PM
Hello Payam,

Thank you for writing back.

There is applied Font for the RadButtonElement.TextElement in the specified themes. That is why it is not necessary to set RadButtonElement.Font, but for its TextElement.Font at design time.

Please do not hesitate to contact us if you have any additional questions.
 
Regards,
Desislava
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 >>
Tags
RibbonBar
Asked by
Payam
Top achievements
Rank 1
Answers by
Payam
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or