How to make WPF TextBox readonly?

The IsReadOnly property of the TextBox sets the text box read only. By default, it is false.

IsReadOnly="True"


The MaxLength property of the TextBox sets the number of characters allowed to input in a text box.

MaxLength="250"