RadSplitButton - change font size?

2 posts, 0 answers
  1. Yang
    Yang avatar
    6 posts
    Member since:
    Mar 2015

    Posted 07 Apr 2016 Link to this post


       I tried to set FontSize of a RadSplitButton in the designer, or set it in the code like: this.radSplitButton1.Font = new System.Drawing.Font(...).

       But nothing changed.

       Finally I found the way which works:   

        this.radSplitButton1.DropDownButtonElement.ActionButton.Font = new System.Drawing.Font(...).

       It's so complex just to change a Font.


  2. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    4169 posts

    Posted 08 Apr 2016 Link to this post

    Hello Yang,

    Thank you for writing.

    All our controls are composed of elements which can be nested in each other, thus creating the so-called Element tree. Each RadControl has an element tree inside. These elements make our controls that flexible and customizable. You can get detailed information on how our controls are constructed in the TelerikPresentationFramework section of our online documentation: http://docs.telerik.com/devtools/winforms/telerik-presentation-framework/overview/overview

    That is why in order to change the font of a RadSplitButton, you should apply it to the respective inner element.

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

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top