Slider Control
Styles
| Style Key |
Semantic Alias |
IsDefaultStyle* |
MaterialSliderStyle |
SliderStyle |
True |
MaterialDefaultSliderStyle |
|
True |
IsDefaultStyle*: Styles in this column will be set as the default implicit style for the matching control
Lightweight Styling
Themed
| Key |
Type |
Light |
Dark |
MaterialSliderThumbDisabledBrush |
SolidColorBrush |
MaterialSliderThumbDisabledColor |
MaterialSliderThumbDisabledColor |
MaterialSliderThumbDisabledColor |
Color |
#B8B4BC |
#685C64 |
SliderBottomTickBarHeight |
Double |
4 |
4 |
SliderBottomTickBarMargin |
Thickness |
0,4,0,0 |
0,4,0,0 |
SliderFillThickness |
Double |
6 |
6 |
SliderFocusVisualMargin |
Thickness |
-7,0 |
-7,0 |
SliderFontFamily |
FontFamily |
DefaultFontFamily |
DefaultFontFamily |
SliderFontSize |
Double |
LabelMediumFontSize |
LabelMediumFontSize |
SliderHorizontalFillCornerRadius |
CornerRadius |
4,0,0,4 |
4,0,0,4 |
SliderHorizontalFocusVisualMargin |
Thickness |
-14,-6,-14,-6 |
-14,-6,-14,-6 |
SliderHorizontalHeight |
Double |
ControlHeightSmall |
ControlHeightSmall |
SliderHorizontalInlineTickBarHeight |
Double |
2 |
2 |
SliderInlineTickBarFill |
SolidColorBrush |
OnSurfaceVariantBrush |
OnSurfaceVariantBrush |
SliderLeftTickBarMargin |
Thickness |
0,0,4,0 |
0,0,4,0 |
SliderLeftTickBarWidth |
Double |
4 |
4 |
SliderPostContentMargin |
Double |
14 |
14 |
SliderPreContentMargin |
Double |
14 |
14 |
SliderRightTickBarMargin |
Thickness |
4,0,0,0 |
4,0,0,0 |
SliderRightTickBarWidth |
Double |
4 |
4 |
SliderThumbBackground |
SolidColorBrush |
PrimaryBrush |
PrimaryBrush |
SliderThumbBackgroundDisabled |
SolidColorBrush |
MaterialSliderThumbDisabledBrush |
MaterialSliderThumbDisabledBrush |
SliderThumbCornerRadius |
Double |
10 |
10 |
SliderThumbHeight |
Double |
20 |
20 |
SliderThumbWidth |
Double |
20 |
20 |
SliderTickBarFill |
SolidColorBrush |
OnSurfaceVariantBrush |
OnSurfaceVariantBrush |
SliderTickBarFillDisabled |
SolidColorBrush |
SystemControlDisabledChromeDisabledHighBrush |
SystemControlDisabledChromeDisabledHighBrush |
SliderTopTickBarHeight |
Double |
4 |
4 |
SliderTopTickBarMargin |
Thickness |
0,0,0,4 |
0,0,0,4 |
SliderTrackCornerRadius |
CornerRadius |
ControlCornerRadius |
ControlCornerRadius |
SliderTrackFill |
SolidColorBrush |
SurfaceVariantBrush |
SurfaceVariantBrush |
SliderTrackFillDisabled |
SolidColorBrush |
OnSurfaceSelectedBrush |
OnSurfaceSelectedBrush |
SliderTrackThickness |
Double |
4 |
4 |
SliderTrackValueFill |
SolidColorBrush |
PrimaryBrush |
PrimaryBrush |
SliderTrackValueFillDisabled |
SolidColorBrush |
SystemControlDisabledChromeDisabledHighBrush |
SystemControlDisabledChromeDisabledHighBrush |
SliderVerticalFillCornerRadius |
CornerRadius |
0,0,4,4 |
0,0,4,4 |
SliderVerticalFocusVisualMargin |
Thickness |
-6,-14,-6,-14 |
-6,-14,-6,-14 |
SliderVerticalInlineTickBarWidth |
Double |
2 |
2 |
SliderVerticalWidth |
Double |
ControlHeightSmall |
ControlHeightSmall |