Posted 14 years ago
by Arash Sahami

Hi
Is it possible to disable the scrollbars of syntax editor? In the previous windows form version of SyntaxEditor you could set the property "ScrollBarType" to None.
I've already tried by setting the attached property "ScrollViewer.HorizontalScrollBarVisibilityProperty" to "ScrollBarVisibility.Hidden"
ex:
syntaxEditor.SetValue(ScrollViewer.HorizontalScrollBarVisibilityProperty, ScrollBarVisibility.Hidden);
but it does not do the job. Any clues?
/arash
Is it possible to disable the scrollbars of syntax editor? In the previous windows form version of SyntaxEditor you could set the property "ScrollBarType" to None.
I've already tried by setting the attached property "ScrollViewer.HorizontalScrollBarVisibilityProperty" to "ScrollBarVisibility.Hidden"
ex:
syntaxEditor.SetValue(ScrollViewer.HorizontalScrollBarVisibilityProperty, ScrollBarVisibility.Hidden);
but it does not do the job. Any clues?
/arash