One TextBox is outside of RadPropertyGrid and One TextBox is inside RadPropertyGrid. The two are set to IsReadOnly=True, but only the outside one actually show read-only.
Version: Telerik.Windows.Controls.Data, Version=2013.3.1316.45.
Compiled with .Net 4.5
WPF app.
<
Window
x:Class
=
"PropGridTest.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
x:Name
=
"ThisControl"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
TextBox
IsReadOnly
=
"True"
Text
=
"Read-only"
/>
<
telerik:RadPropertyGrid
Grid.Row
=
"1"
AutoGeneratePropertyDefinitions
=
"False"
Item
=
"{Binding ElementName=ThisControl}"
>
<
telerik:RadPropertyGrid.PropertyDefinitions
>
<
telerik:PropertyDefinition
DisplayName
=
"Prop 1"
GroupName
=
"Group 1"
OrderIndex
=
"0"
>
<
telerik:PropertyDefinition.EditorTemplate
>
<
DataTemplate
DataType
=
"telerik:PropertyDefinition"
>
<
TextBox
HorizontalAlignment
=
"Left"
IsReadOnly
=
"True"
Text
=
"Read-only"
Width
=
"100"
/>
</
DataTemplate
>
</
telerik:PropertyDefinition.EditorTemplate
>
</
telerik:PropertyDefinition
>
</
telerik:RadPropertyGrid.PropertyDefinitions
>
</
telerik:RadPropertyGrid
>
</
Grid
>
</
Window
>