syncfusion-maui-range-selector

$npx mdskill add syncfusion/maui-ui-components-skills/syncfusion-maui-range-selector

Implement Syncfusion .NET MAUI Range Selector with embedded charts.

  • Set up range selection with thumbs, track, and embedded content.
  • Depends on Syncfusion.Maui.Sliders NuGet package and MAUI project.
  • Analyzes user requirements for range, intervals, and chart embedding.
  • Generates XAML and C# code for the configured range selector.

SKILL.md

.github/skills/syncfusion-maui-range-selectorView on GitHub ↗
---
name: syncfusion-maui-range-selector
description: Implements the Syncfusion .NET MAUI Range Selector (SfRangeSelector) component. Use when working with range selection with embedded charts, numeric range input, RangeStart/RangeEnd, track customization, or thumb styling in .NET MAUI. Covers tooltip configuration, label formatting, ticks/dividers, selection modes, events, and embedding SfCartesianChart inside a range control.
metadata:
  author: "Syncfusion Inc"
  version: "34.1.29"
---

# Implementing .NET MAUI Range Selector

The Syncfusion `SfRangeSelector` is a .NET MAUI control that lets users select a numeric range by dragging thumbs over a track. It uniquely supports embedding any content (typically a chart) inside the selector, making it ideal for filtering chart data by range.

## When to Use This Skill

Use this skill when the user needs to:

- **Set up SfRangeSelector** from scratch in a MAUI app
- **Embed chart content** (`SfCartesianChart` or other views) inside the range selector for interactive data filtering
- **Customize track appearance** — colors, height, and extent
- **Configure intervals, ticks, labels, and dividers** for the range scale
- **Style thumb and overlay** — size, colors, stroke
- **Configure tooltips** — show always, styling, custom text
- **Implement selection modes** — discrete, interval selection, drag behaviors
- **Handle events** — ValueChanged, ValueChanging, LabelCreated
- **Use MVVM commands** — DragStartedCommand, DragCompletedCommand
- **Customize labels** — placement, edge placement, styling, offset
- **Style ticks and dividers** — colors, sizes, strokes
- **Add visual regions** — active/inactive region colors and strokes
- **Invert range selector direction** with IsInversed
- **Format displayed labels** with prefix/suffix via `NumberFormat`
- **Enable Liquid Glass effect** for modern translucent design
- **Bind RangeStart/RangeEnd to a ViewModel** for MVVM data binding

## Component Overview

The **SfRangeSelector** is a .NET MAUI control for selecting a numeric range by dragging dual thumbs over a track. It uniquely supports embedding any content (typically a chart) inside the selector, making it ideal for interactive data filtering.

**Package**: `Syncfusion.Maui.Sliders`  
**Namespace**: `Syncfusion.Maui.Sliders`  
**Control**: `SfRangeSelector`

**Key Capabilities:**
- **Embedded Content**: Any .NET MAUI view (e.g., `SfCartesianChart`) rendered inside the selector
- **Dual Thumbs**: Drag to define start and end values with full track styling
- **Interval Controls**: Labels, ticks, minor ticks, and dividers at configurable intervals
- **Selection Modes**: Discrete steps, interval snapping, and drag behavior options
- **Rich Customization**: Track colors, thumb styles, tooltip, label/tick/divider styling
- **Region Support**: Active/inactive region customization
- **MVVM Ready**: Events, commands, and two-way data binding support
- **Liquid Glass Effect**: Modern translucent design for iOS/macOS 26+

## Documentation and Navigation Guide

### Getting Started
📄 **Read:** [references/getting-started.md](references/getting-started.md)
- NuGet installation (`Syncfusion.Maui.Sliders`)
- Handler registration in `MauiProgram.cs`
- Minimal XAML and C# setup
- Adding chart content via the `Content` property
- Namespace imports

### Interval Configuration
📄 **Read:** [references/interval-configuration.md](references/interval-configuration.md)
- Setting `Interval`, `Minimum`, `Maximum`
- Auto-interval calculation when `Interval = 0`
- Showing ticks with `ShowTicks` + `MinorTicksPerInterval`
- Showing dividers with `ShowDividers`
- How interval affects labels and ticks rendering

### Display Features
📄 **Read:** [references/display-features.md](references/display-features.md)
- Enabling labels with `ShowLabels`
- Enabling ticks and minor ticks
- Formatting labels with `NumberFormat` (prefix/suffix)
- Inverting the selector with `IsInversed`
- Configuring `RangeStart` and `RangeEnd`

### Content and Chart Integration
📄 **Read:** [references/content-and-integration.md](references/content-and-integration.md)
- How the `Content` property works
- Embedding `SfCartesianChart` with hidden axes
- ViewModel + `ItemsSource` binding pattern
- `SplineAreaSeries` setup inside a range selector
- Tips for using other chart types

### Track Customization
📄 **Read:** [references/track-customization.md](references/track-customization.md)
- Minimum and Maximum properties
- RangeStart and RangeEnd values
- Track colors (ActiveFill, InactiveFill)
- Track height (ActiveSize, InactiveSize)
- Track extent (extending track edges)
- TrackStyle property and complete styling

### Labels Customization
📄 **Read:** [references/labels-customization.md](references/labels-customization.md)
- ShowLabels property
- NumberFormat for prefix/suffix ($, %, etc.)
- LabelsPlacement (OnTicks vs BetweenTicks)
- EdgeLabelsPlacement (Default vs Inside)
- LabelStyle (colors, fonts, sizes for active/inactive)
- Label offset customization
- Custom label text via LabelCreated event

### Ticks and Dividers
📄 **Read:** [references/ticks-and-dividers.md](references/ticks-and-dividers.md)
- ShowTicks and major ticks configuration
- MinorTicksPerInterval for minor ticks
- MajorTickStyle (colors, sizes, offset)
- MinorTickStyle (colors, sizes, offset)
- ShowDividers property
- DividerStyle (radius, colors, stroke, stroke thickness)
- Complete tick and divider styling examples

### Selection Modes
📄 **Read:** [references/selection-modes.md](references/selection-modes.md)
- Discrete selection with StepSize
- EnableIntervalSelection property
- DragBehavior options (OnThumb, BetweenThumbs, Both)
- EnableDeferredUpdate for performance
- DeferredUpdateDelay configuration
- Selection behavior comparisons

### Tooltip Configuration
📄 **Read:** [references/tooltip-configuration.md](references/tooltip-configuration.md)
- Enabling tooltip with SliderTooltip
- ShowAlways property for persistent tooltips
- Tooltip styling (Fill, Stroke, StrokeThickness)
- Text styling (TextColor, FontSize, FontFamily, FontAttributes)
- Padding and Position properties
- NumberFormat for tooltip text
- Custom tooltip text via TooltipLabelCreated event

### Thumb and Styling
📄 **Read:** [references/thumb-and-styling.md](references/thumb-and-styling.md)
- ThumbStyle properties (Radius, Fill, Stroke, StrokeThickness)
- OverlapStroke for overlapping thumbs
- ThumbOverlayStyle (Radius, Fill)
- Visual regions (ActiveRegionFill, InactiveRegionFill, strokes)
- Complete styling patterns
- EnableLiquidGlassEffect for modern translucent design
- Platform requirements for Liquid Glass

### Events and Commands
📄 **Read:** [references/events-and-commands.md](references/events-and-commands.md)
- Value change events (ValueChangeStart, ValueChanging, ValueChanged, ValueChangeEnd)
- LabelCreated event for custom label text
- TooltipLabelCreated event for custom tooltip text
- DragStartedCommand and DragCompletedCommand
- Command parameters
- MVVM pattern implementation
- Complete event handling examples

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.