Can any one help me display the font family in ribbon control using combo box, i do know how to do this without the ribbon control but it doesnt seem to work the same. This is what i use without the ribbon control and it works. thank you in advance
1 Answer, 1 is accepted
answered on 16 Dec 2014, 09:00 AM
Thank you for writing.
Please find below a code snippet populating all available fonts in a dropdown list of a RadRibbonBar control:
private void SetFontFamilyItems()
InstalledFontCollection font = new InstalledFontCollection();
foreach (System.Drawing.FontFamily family in font.Families)
if (family.IsStyleAvailable(System.Drawing.FontStyle.Regular) &&
I would also suggest that you get acquainted with our RichTextEditor control which provides a fully functional ribbon bar with text editing capabilities out of the box. The functionality of the RichTextEditor is very well displayed in our demo application, the source code is usually located at: C:\Program Files (x86)\Telerik\UI for WinForms Q3 2014\Examples\RichTextEditor.
Hope this helps. Should you have further questions please do not hesitate to write back.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.