Hi,
I have a RichTextBox and when I set the HorizontalScrollBarVisibility to ScrollBarVisibility.Visible it always shows, but never works because my text gets word wrapped like the wordwrap function in notepad does.
Is there any way to turn this off?
The windows forms richtextbox seems to have a wordwrap property, but I am unable to find this property on the wpf variant.
current code I use:
RichTextBox
rtb = newRichTextBox();rtb.VerticalScrollBarVisibility =
ScrollBarVisibility.Visible;rtb.HorizontalScrollBarVisibility =
ScrollBarVisibility.Visible;
Thanks in advance,
Erik