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

Disable text editing but keep scrolling capabilities

2 Answers 260 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 28 May 2012, 01:33 AM
Hi,

I came across this thread where they are asking the same question I have, however it's for Silverlight and two years old so I'd like to see if there's any change in WPF and 2012. The question is: 
Is it possible to disable text selection and editing in an RTB but keep the scrollbars active so people can view all the content?

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Iva Toteva
Telerik team
answered on 28 May 2012, 02:52 PM
Hi Peter,

You are right, the information in the forum you have found is rather outdated.

RadRichTextBox exposes several properties that control the interaction with the document. You can find them listed here. Overall, you can achieve the desired behavior by setting IsReadOnly="True" and IsSelectionEnabled="False".

Greetings,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Peter
Top achievements
Rank 1
answered on 28 May 2012, 11:37 PM
Thanks
Tags
RichTextBox
Asked by
Peter
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Peter
Top achievements
Rank 1
Share this question
or