Completed
Last Updated: 14 Feb 2017 15:20 by ADMIN
ADMIN
Hristo
Created on: 01 Feb 2017 10:37
Category: RichTextEditor
Type: Bug Report
0
FIX. RadRichTextEditor - do not serialize the CaretWidth property in the designer file
Workaround: 
public class CustomRadRichTextEditor : RadRichTextEditor
{
    /// <summary>
    /// Gets or sets the width of the caret.
    /// </summary>
    [Browsable(false)]
    [Category(RadDesignCategory.AppearanceCategory)]
    public new float CaretWidth
    {
        get
        {
            float caretWidth = base.CaretWidth;
            if (float.IsNaN(caretWidth))
            {
                return 2;
            }

            return caretWidth;
        }
        set 
        { 
            base.CaretWidth = value; 
        }
    }
}
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments