How to disable scrollbars

SyntaxEditor for WPF Forum

Posted 14 years ago by Arash Sahami
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"


syntaxEditor.SetValue(ScrollViewer.HorizontalScrollBarVisibilityProperty, ScrollBarVisibility.Hidden);

but it does not do the job. Any clues?


Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Arash,

Sorry we don't have support for that just yet. It is one of the higher priority TODO list items now. I'll add your post to the request so we can let you know when it's done.

In the meantime you'd have to walk the visual tree and find the ScrollBar controls and set their visibility to collapsed.

Actipro Software Support

The latest build of this product (v24.1.2) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.