change scroll bar style

SyntaxEditor for WPF Forum

Posted 2 years ago by VinCox
Version: 17.1.0650
Avatar

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 2 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

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 2 years ago by VinCox
Avatar

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 (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.