New to Telerik UI for WPF? Download free 30-day trial

Set the FluentPalette ScrollBarsMode on a Single Control


Product UI for WPF


How to change the ThemeHelper.ScrollBarsMode attached property for a specific ScrollViewer control, this customizing the scrollbars in the Fluent theme.


To do this, you can add an implicit style in the Resources of the corresponding ScrollViewer control. The Style can have a single Setter changing the ThemeHelper.ScrollBarsMode attached property.

 <ScrollViewer MaxHeight="150" Grid.Row="1"> 
        <Style TargetType="ScrollBar" BasedOn="{StaticResource ScrollBarStyle}"> 
            <Setter Property="helpers:ThemeHelper.ScrollBarsMode" Value="Compact"/> 
    <!-- other XAML here --> 
In this article