Hello, Jérôme,
Currently, you can use the following workaround:
private void RadRichTextEditor1_CommandExecuted(object sender, CommandExecutedEventArgs e)
{
if (e.Command is ToggleUnderlineCommand || e.Command is ChangeFontForeColorCommand)
{
SyncUnderlineColorForSelection();
}
}
private void SyncUnderlineColorForSelection()
{
RadDocument document = this.radRichTextEditor1.Document;
if (document == null)
return;
foreach (Span span in document.EnumerateChildrenOfType<Span>())
{
if (span.Underline)
{
span.UnderlineColor = span.ForeColor;
}
}
}Regards,
Nadya | Tech Support Engineer
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.