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

RadSplitButton - change font size?

1 Answer 120 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
Yang
Top achievements
Rank 1
Yang asked on 07 Apr 2016, 11:17 AM

Hi, 

   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.

 

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 08 Apr 2016, 07:59 AM
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.

 Regards,
Dess
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
Buttons, RadioButton, CheckBox, etc
Asked by
Yang
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or