syncfusion-maui-slider

$npx mdskill add syncfusion/maui-ui-components-skills/syncfusion-maui-slider

Implements Syncfusion .NET MAUI Slider for numeric value selection.

  • Enables users to select a single value from a defined range.
  • Depends on Syncfusion .NET MAUI NuGet package and SfSlider control.
  • Analyzes user requirements for slider features like labels, ticks, and tooltips.
  • Generates XAML or C# code to configure and customize the slider.

SKILL.md

.github/skills/syncfusion-maui-sliderView on GitHub ↗
---
name: syncfusion-maui-slider
description: 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.
metadata:
  author: "Syncfusion Inc"
  version: "34.1.29"
---

# 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](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](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](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](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](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](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](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](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)

More from syncfusion/maui-ui-components-skills

SkillDescription
syncfusion-maui-accordionImplements Syncfusion .NET MAUI Accordion (SfAccordion) - a vertically collapsible panel with stacked headers for expanding/collapsing content. Use when working with accordions, collapsible panels, expandable lists, employee lists with details, or FAQ sections in .NET MAUI applications. Covers AccordionItem configuration, expand modes, and grouped content display.
syncfusion-maui-ai-assistviewImplements Syncfusion .NET MAUI AI AssistView (SfAIAssistView) for AI-powered interactive chat interfaces. Use when working with AI chat interfaces, AI AssistView, SfAIAssistView, conversational UI, or chat with AI responses. Covers integrating AI services, creating chat UIs, implementing conversation flows, managing AI requests/responses, and displaying AI suggestions.
syncfusion-maui-autocompleteImplements and configure Syncfusion .NET MAUI Autocomplete (SfAutocomplete) control for intelligent text input with suggestions. Use when implementing autocomplete, autosuggest, type-ahead search, smart search, or filtered dropdowns in .NET MAUI applications. Covers data binding, filtering modes, custom search logic, AI-powered search, multi-selection with tokens, and UI customization.
syncfusion-maui-avatar-viewImplements Syncfusion .NET MAUI Avatar View (SfAvatarView) for displaying user profile pictures, initials, or group avatars. Use when working with avatar views, profile pictures, user images, initials display, profile icons, or contact images. Ideal for implementing user profile displays, contact lists, chat interfaces, or social feeds.
syncfusion-maui-backdropImplements Syncfusion .NET MAUI Backdrop Page (SfBackdropPage) with back layer and front layer surfaces. Use when working with backdrop pages, SfBackdropPage, back layer, front layer, or reveal/conceal animations. Covers backdrop navigation patterns, header icons, corner shapes, reveal height, layer state events, and liquid glass effect.
syncfusion-maui-badge-viewImplements Syncfusion .NET MAUI Badge View (SfBadgeView) control. Use when adding badge notifications, status indicators, unread counts, or notification overlays to MAUI applications. Covers SfBadgeView setup, badge text customization, position adjustments, animations, predefined symbols, and accessibility features.
syncfusion-maui-barcode-generatorImplements Syncfusion .NET MAUI Barcode Generator (SfBarcodeGenerator) for generating machine-readable barcodes. Use when working with barcodes, barcode generation, QR codes, data matrix, EAN codes, UPC codes, Code128, or Code39. This skill covers both one-dimensional (linear) and two-dimensional (matrix) barcode symbologies with extensive customization options.
syncfusion-maui-busy-indicatorImplements Syncfusion .NET MAUI Busy Indicator (SfBusyIndicator) for showing loading states, data processing, and app activity indicators. Use when displaying loading indicators, busy animations, activity spinners, or processing feedback in .NET MAUI apps. Covers busy indicator setup, animations, and visual feedback during long-running operations.
syncfusion-maui-buttonImplements and customize Syncfusion .NET MAUI Button (SfButton) control. Use when working with MAUI buttons, SfButton implementation, button customization, or visual states. Covers button icons, background images, RTL support, Liquid Glass effects, custom button views, button styling, events, and checkable buttons.
syncfusion-maui-calendarImplements and customize Syncfusion .NET MAUI Calendar (SfCalendar) control. Use when implementing calendar functionality, date selection (single, multiple, range), or calendar views (month, year, decade, century). Covers date restrictions (min/max dates, EnablePastDates, SelectableDayPredicate), calendar customization, events (ViewChanged, SelectionChanged, Tapped), and header/footer customization.