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

Disabled Text Box style

1 Answer 114 Views
RichTextBox (obsolete as of Q3 2014 SP1)
This is a migrated thread and some comments may be shown as answers.
Dariush Habibi
Top achievements
Rank 1
Dariush Habibi asked on 14 Sep 2012, 09:11 PM
Like a text box which is disabled but the data is clearly readable so regular while or dark gray on white background.  Have not been able to change the colors since the text box is disabled.  Just basically want to kill the editing possibility but keep the data readable.


1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 17 Sep 2012, 12:39 PM
Hi Dariush,

Thank you for writing.

I assume that you want to make RadTextBox read only so it keeps its appearance but does not allow editing. If so, here is how to do it:
radTextBox1.ReadOnly = true;

I hope this helps.
 
Kind regards,
Stefan
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
RichTextBox (obsolete as of Q3 2014 SP1)
Asked by
Dariush Habibi
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or