Implementing .NET MAUI Slider
The Syncfusion .NET MAUI Slider (SfSlider) is a highly interactive UI control that enables users to select a single value from a defined range. It offers a rich set of customization features, including track styling, labels, ticks, dividers, and tooltips, allowing developers to create intuitive and visually engaging slider experiences.
When to Use This Skill
Use this skill when the user needs to:
- Implement a numeric slider control in .NET MAUI applications
- Allow users to select a single value from a range (e.g., volume, brightness, price)
- Configure slider track, thumb, labels, ticks, dividers, or tooltips
- Handle slider value changes through events or commands
- Create discrete sliders with step values
- Customize slider appearance with colors, sizes, and styles
- Enable advanced features like deferred updates or liquid glass effects
- Migrate from Xamarin.Forms RangeSlider to .NET MAUI Slider
- Implement sliders in both horizontal and vertical orientations
The Syncfusion .NET MAUI Slider (SfSlider) is a highly interactive UI control for selecting a single numeric value from a range, with rich features including customizable track, labels, ticks, dividers, tooltips, and responsive interactions.
Component Overview
The SfSlider is the numeric slider control for .NET MAUI that allows users to select a single value by dragging a thumb along a track. It provides:
- Numeric Support: Select values from numeric ranges with configurable minimum and maximum
- Visual Elements: Track, thumb, overlay, labels, ticks, dividers, and tooltips
- Orientation: Both horizontal and vertical layout support
- Interaction: Smooth dragging with events and commands for value changes
- Discrete Mode: Step-based value selection for specific increments
- Customization: Extensive styling options for all visual components
- Advanced Features: Deferred updates, liquid glass effect, and Visual State Manager support
Documentation and Navigation Guide
Getting Started
📄 Read: references/getting-started.md
- Installing Syncfusion.Maui.Sliders NuGet package
- Registering handler with ConfigureSyncfusionCore
- Creating basic slider in XAML and C#
- Setup for Visual Studio, VS Code, and JetBrains Rider
- Orientation (horizontal/vertical)
- IsInversed property for reversed sliders
Track and Value Configuration
📄 Read: references/track-and-values.md
- Minimum and Maximum properties
- Value property and data binding
- Track customization with TrackStyle
- ActiveFill and InactiveFill colors
- ActiveSize and InactiveSize for track thickness
- Track height and custom styling
Labels and Formatting
📄 Read: references/labels-and-formatting.md
- ShowLabels property to display labels
- Interval configuration (manual and auto)
- NumberFormat for label formatting (prefix/suffix)
- LabelCreated event for custom label text
- SliderLabelCreatedEventArgs (Text, Style properties)
- Label styling (color, font, family, offset)
Ticks and Dividers
📄 Read: references/ticks-and-dividers.md
- ShowTicks property for major ticks
- MinorTicksPerInterval for minor ticks
- Tick size, length, and styling
- ShowDividers property for track markers
- Divider radius, fill, and stroke customization
- ActiveRadius, InactiveRadius, ActiveFill, InactiveFill
- ActiveStroke, InactiveStroke, ActiveStrokeThickness, InactiveStrokeThickness
- Visual State Manager for disabled dividers
Tooltip
📄 Read: references/tooltip.md
- Enabling tooltip with SliderTooltip
- ShowAlways property for persistent tooltips
- Tooltip.NumberFormat for value formatting
- TooltipLabelCreated event for custom tooltip text
- SliderTooltipLabelCreatedEventArgs (Text, TextColor, FontSize, FontFamily, FontAttributes)
- Tooltip positioning and styling
Thumb, Selection, and Overlay
📄 Read: references/thumb-selection-overlay.md
- Thumb customization with ThumbStyle
- Thumb Radius, Fill, Stroke, and StrokeThickness
- ThumbOverlay properties with ThumbOverlayStyle
- Overlay radius and color configuration
- Selection track styling
- Visual State Manager for disabled thumb states
- Complete styling examples
Events, Commands, and Interaction
📄 Read: references/events-and-commands.md
- ValueChangeStart event (thumb press)
- ValueChanging event with SliderValueChangingEventArgs (during drag)
- ValueChanged event with SliderValueChangedEventArgs (drag complete)
- ValueChangeEnd event (thumb release)
- DragStartedCommand and DragStartedCommandParameter
- DragCompletedCommand and DragCompletedCommandParameter
- Command binding with ViewModel and ICommand
- Event handler patterns
Advanced Features and Migration
📄 Read: references/advanced-features.md
- StepSize for discrete value selection
- EnableDeferredUpdate and DeferredUpdateDelay
- IsEnabled property for disabled state
- EnableLiquidGlassEffect (modern translucent design for .NET 10+)
- LiquidGlass prerequisites (iOS 26, macOS 26)
- Visual State Manager (VSM) for state-based styling
- Custom theming and styling patterns
- Migration from Xamarin.Forms SfRangeSlider
- Property mapping (Xamarin → MAUI)
1---
2name: syncfusion-maui-slider
3description: Implements Syncfusion .NET MAUI Slider (SfSlider) control. Use when working with sliders, numeric value selection, or interactive value controls. This skill covers installation, track configuration, labels with formatting, ticks and dividers, tooltips, thumb customization, discrete selection with StepSize, deferred updates, and LiquidGlass effect.
4metadata:
5 author: "Syncfusion Inc"
6 version: "34.1.29"
7---
8
9# Implementing .NET MAUI Slider
10
11The Syncfusion .NET MAUI Slider (SfSlider) is a highly interactive UI control that enables users to select a single value from a defined range. It offers a rich set of customization features, including track styling, labels, ticks, dividers, and tooltips, allowing developers to create intuitive and visually engaging slider experiences.
12
13## When to Use This Skill
14
15Use this skill when the user needs to:
16
17- Implement a numeric slider control in .NET MAUI applications
18- Allow users to select a single value from a range (e.g., volume, brightness, price)
19- Configure slider track, thumb, labels, ticks, dividers, or tooltips
20- Handle slider value changes through events or commands
21- Create discrete sliders with step values
22- Customize slider appearance with colors, sizes, and styles
23- Enable advanced features like deferred updates or liquid glass effects
24- Migrate from Xamarin.Forms RangeSlider to .NET MAUI Slider
25- Implement sliders in both horizontal and vertical orientations
26
27The Syncfusion .NET MAUI Slider (SfSlider) is a highly interactive UI control for selecting a single numeric value from a range, with rich features including customizable track, labels, ticks, dividers, tooltips, and responsive interactions.
28
29## Component Overview
30
31The **SfSlider** is the numeric slider control for .NET MAUI that allows users to select a single value by dragging a thumb along a track. It provides:
32
33- **Numeric Support**: Select values from numeric ranges with configurable minimum and maximum
34- **Visual Elements**: Track, thumb, overlay, labels, ticks, dividers, and tooltips
35- **Orientation**: Both horizontal and vertical layout support
36- **Interaction**: Smooth dragging with events and commands for value changes
37- **Discrete Mode**: Step-based value selection for specific increments
38- **Customization**: Extensive styling options for all visual components
39- **Advanced Features**: Deferred updates, liquid glass effect, and Visual State Manager support
40
41## Documentation and Navigation Guide
42
43### Getting Started
44📄 **Read:** [references/getting-started.md](references/getting-started.md)
45- Installing Syncfusion.Maui.Sliders NuGet package
46- Registering handler with ConfigureSyncfusionCore
47- Creating basic slider in XAML and C#
48- Setup for Visual Studio, VS Code, and JetBrains Rider
49- Orientation (horizontal/vertical)
50- IsInversed property for reversed sliders
51
52### Track and Value Configuration
53📄 **Read:** [references/track-and-values.md](references/track-and-values.md)
54- Minimum and Maximum properties
55- Value property and data binding
56- Track customization with TrackStyle
57- ActiveFill and InactiveFill colors
58- ActiveSize and InactiveSize for track thickness
59- Track height and custom styling
60
61### Labels and Formatting
62📄 **Read:** [references/labels-and-formatting.md](references/labels-and-formatting.md)
63- ShowLabels property to display labels
64- Interval configuration (manual and auto)
65- NumberFormat for label formatting (prefix/suffix)
66- LabelCreated event for custom label text
67- SliderLabelCreatedEventArgs (Text, Style properties)
68- Label styling (color, font, family, offset)
69
70### Ticks and Dividers
71📄 **Read:** [references/ticks-and-dividers.md](references/ticks-and-dividers.md)
72- ShowTicks property for major ticks
73- MinorTicksPerInterval for minor ticks
74- Tick size, length, and styling
75- ShowDividers property for track markers
76- Divider radius, fill, and stroke customization
77- ActiveRadius, InactiveRadius, ActiveFill, InactiveFill
78- ActiveStroke, InactiveStroke, ActiveStrokeThickness, InactiveStrokeThickness
79- Visual State Manager for disabled dividers
80
81### Tooltip
82📄 **Read:** [references/tooltip.md](references/tooltip.md)
83- Enabling tooltip with SliderTooltip
84- ShowAlways property for persistent tooltips
85- Tooltip.NumberFormat for value formatting
86- TooltipLabelCreated event for custom tooltip text
87- SliderTooltipLabelCreatedEventArgs (Text, TextColor, FontSize, FontFamily, FontAttributes)
88- Tooltip positioning and styling
89
90### Thumb, Selection, and Overlay
91📄 **Read:** [references/thumb-selection-overlay.md](references/thumb-selection-overlay.md)
92- Thumb customization with ThumbStyle
93- Thumb Radius, Fill, Stroke, and StrokeThickness
94- ThumbOverlay properties with ThumbOverlayStyle
95- Overlay radius and color configuration
96- Selection track styling
97- Visual State Manager for disabled thumb states
98- Complete styling examples
99
100### Events, Commands, and Interaction
101📄 **Read:** [references/events-and-commands.md](references/events-and-commands.md)
102- ValueChangeStart event (thumb press)
103- ValueChanging event with SliderValueChangingEventArgs (during drag)
104- ValueChanged event with SliderValueChangedEventArgs (drag complete)
105- ValueChangeEnd event (thumb release)
106- DragStartedCommand and DragStartedCommandParameter
107- DragCompletedCommand and DragCompletedCommandParameter
108- Command binding with ViewModel and ICommand
109- Event handler patterns
110
111### Advanced Features and Migration
112📄 **Read:** [references/advanced-features.md](references/advanced-features.md)
113- StepSize for discrete value selection
114- EnableDeferredUpdate and DeferredUpdateDelay
115- IsEnabled property for disabled state
116- EnableLiquidGlassEffect (modern translucent design for .NET 10+)
117- LiquidGlass prerequisites (iOS 26, macOS 26)
118- Visual State Manager (VSM) for state-based styling
119- Custom theming and styling patterns
120- Migration from Xamarin.Forms SfRangeSlider
121- Property mapping (Xamarin → MAUI)
122