Hi
I want to have a textbox property in the property grid that supports multiple lines. I have overridden the EditorTemplate as follows:
When I run the code the long text does not wrap as expected.
I want to have a textbox property in the property grid that supports multiple lines. I have overridden the EditorTemplate as follows:
<
telerik:PropertyDefinition
Binding
=
"{Binding Description}"
DisplayName
=
"Description"
>
<
telerik:PropertyDefinition.EditorTemplate
>
<
DataTemplate
>
<
TextBox
Text
=
"{Binding Description, Mode=TwoWay}"
TextWrapping
=
"Wrap"
VerticalScrollBarVisibility
=
"Visible"
AcceptsReturn
=
"true"
/>
</
DataTemplate
>
</
telerik:PropertyDefinition.EditorTemplate
>
</
telerik:PropertyDefinition
>
When I run the code the long text does not wrap as expected.