Unplanned
Last Updated: 30 Mar 2016 11:24 by ADMIN
ADMIN
Dimitar
Created on: 13 May 2015 12:01
Category: RichTextEditor
Type: Bug Report
1
FIX. RichTextEditorRibbonBar - the font drop down is updated when the user clicks in the RadRichTextEditor not when the application is loaded.
To reproduce:
- Add RadRichtextEditor to a form and assosite it with RichTextEditorRibbonBar
- Start the application
- You will notice that the font is Agency FB.
- If you click in the editor the font will change.

Workaround:
void Form1_Shown(object sender, EventArgs e)
{
    radRichTextEditor1.Focus();
    ribbonBar1.GetType().GetMethod("HandleFontStylePropertiesOnCurrentEditingStyleChanged", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).Invoke(ribbonBar1,null);
}

0 comments