Problem changing font

5 posts, 0 answers
  1. Payam
    Payam avatar
    3 posts
    Member since:
    Nov 2013

    Posted 22 Nov 2013 Link to this post

    Hi
    How i can change the font of ribbon and its child items (in WinForm Q3 2013)? 
  2. Payam
    Payam avatar
    3 posts
    Member since:
    Nov 2013

    Posted 22 Nov 2013 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dess
    Admin
    Dess avatar
    1605 posts

    Posted 27 Nov 2013 Link to this post

    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 >>
  5. Payam
    Payam avatar
    3 posts
    Member since:
    Nov 2013

    Posted 28 Nov 2013 Link to this post

    Yes, the problem is the following themes:
    1. office2010blue
    2. metro
    3. metroblue

    Is there any way to solve this problem?
  6. Dess
    Admin
    Dess avatar
    1605 posts

    Posted 03 Dec 2013 Link to this post

    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 >>
Back to Top
UI for WinForms is Visual Studio 2017 Ready