Hello!
How about read-only property in PropertyGrid? I find only one way - custom editor, like this
But in this case, the property will be unselectable, and description invisible.
Variant with TextBox in DataTemplate (and ReadOnly="True") fix it - but it looks like editable (frame, backgroudnd, cursor inside, etc.)
How about read-only property in PropertyGrid? I find only one way - custom editor, like this
<
telerik:PropertyDefinition
DisplayName
=
"My property"
Description
=
"My description"
GroupName
=
"Group name"
>
<
telerik:PropertyDefinition.EditorTemplate
>
<
DataTemplate
>
<
sdk:Label
Content
=
"{Binding Geo_Num}"
FontWeight
=
"Bold"
/>
</
DataTemplate
>
</
telerik:PropertyDefinition.EditorTemplate
>
</
telerik:PropertyDefinition
>
But in this case, the property will be unselectable, and description invisible.
Variant with TextBox in DataTemplate (and ReadOnly="True") fix it - but it looks like editable (frame, backgroudnd, cursor inside, etc.)