change scroll bar style

SyntaxEditor for WPF Forum

Posted 6 years ago by VinCox
Version: 17.1.0650

when i apply metrolight theme to my window, the embedded scroll bar style(in syntaxeditor/datagrid, etc) didn't change. it stays the way it was(windows default).

what  i expected was it'd transform into a metro-like style just like how it looks in the samplebrowser.

how can i change it? cause it doesn't fit with metrolight theme and it annoys me.

Comments (2)

Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA


You mentioned applying a theme to your specific Window.  I would recommend that you don't use the attached property for setting a theme on an element hierarchy (more for testing only) and that you instead programmatically set the static ThemeManager.CurrentTheme property in your app startup.  Please let us know if that helps.

Actipro Software Support

Answer - Posted 6 years ago by VinCox

i tried your solution, but it seems not to be the case.

but i looked through your docs and i added ThemeManager.AreNativeThemesEnabled = True and it worked.

anyway thanks for helping!

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

Add Comment

Please log in to a validated account to post comments.