Text box is defined in following code:
<TextBox Grid.Row="2" IsReadOnly="{Binding IsDescriptionReadOnly}" AcceptsReturn="True"
TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" Text="{Binding Description, UpdateSourceTrigger=PropertyChanged}"/>e
When enter is pressed, a new line is not inserted. How to fix this problem?
I had similar problem, I solved it with this question using
AcceptsReturn="True"
. So I think, this should work.What you have should work fine, assuming
I'd suggest you try this outside of your project to get a better indication of the actual issue.
Add the following: