This is a migrated thread and some comments may be shown as answers.

Hide caret

2 Answers 111 Views
RichTextEditor
This is a migrated thread and some comments may be shown as answers.
konrad
Top achievements
Rank 1
konrad asked on 26 Nov 2015, 10:53 AM

Hi,

How to hide caret? 

I want to stay with selection text possibility but without blinking caret.

2 Answers, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 26 Nov 2015, 11:19 AM
Hello Dominik,

Thank you for writing.

You can hide the by using the following code snippet in the Form.Load event:
private void Form1_Load(object sender, EventArgs e)
{
    Telerik.WinControls.RichTextEditor.UI.DocumentWebLayoutPresenter webLayoutPresenter =
        this.radRichTextEditor1.RichTextBoxElement.ActiveEditorPresenter as Telerik.WinControls.RichTextEditor.UI.DocumentWebLayoutPresenter;
    webLayoutPresenter.Caret.Width = 0;
}

I hope this information helps. Should you have further questions I would be glad to help.
 
Regards,
Dess
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
konrad
Top achievements
Rank 1
answered on 26 Nov 2015, 12:27 PM
Thanks!
Tags
RichTextEditor
Asked by
konrad
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
konrad
Top achievements
Rank 1
Share this question
or