Approved
Last Updated: 31 Oct 2018 08:06 by ADMIN
ADMIN
Tanya
Created on: 29 Aug 2016 12:03
Category: RichTextBox
Type: Bug Report
1
RichTextBox: Strikethrough decoration is not visible when applied on a span inside a permission range
The UI indicates that a strikethrough is applied, but it is not visible in the document. 

Workaround: 

Reorder the UI layers of RadRichTextBox so that the one responsible for drawing the strikethrough decoration is added in a higher position: 

protected override void BuildUILayersOverride(IUILayerContainer uiLayerContainer)
{
    uiLayerContainer.UILayers.Remove(DefaultUILayers.StrikethroughDecoration);
    uiLayerContainer.UILayers.AddAfter(DefaultUILayers.UnderlineDecoration, new StrikethroughTextDecorationUILayer());
} 
0 comments