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