syncfusion-maui-date-time-slider

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

Implement Syncfusion .NET MAUI DateTime Slider for date range selection.

  • Select single DateTime values from a range using a slider UI.
  • Depends on Syncfusion.Maui.Sliders NuGet package and MAUI framework.
  • Configures slider based on user requirements for intervals, labels, and styling.
  • Provides a customizable SfDateTimeSlider control with events and MVVM support.

SKILL.md

.github/skills/syncfusion-maui-date-time-sliderView on GitHub ↗
---
name: syncfusion-maui-date-time-slider
description: Implements Syncfusion .NET MAUI DateTime Slider (SfDateTimeSlider) for date range selection. Use when working with DateTime Slider, date range selection, date picker slider, or temporal value selection UI in MAUI applications. This skill covers installation, configuration, track customization, labels, ticks, dividers, tooltips, thumb styling, intervals, and discrete selection.
metadata:
  author: "Syncfusion Inc"
  version: "34.1.29"
---

# Implementing .NET MAUI Date Time Slider

The Syncfusion .NET MAUI DateTime Slider (SfDateTimeSlider) is a highly interactive UI control for selecting a single DateTime value from a range of date/time values. It provides rich customization options for labels, ticks, tooltips, track, thumb, and dividers, making it ideal for temporal data selection in MAUI applications.

## When to Use This Skill

Use this skill when user need to:
- **Implement date selection** with a slider interface in .NET MAUI applications
- **Create time pickers** or datetime range selectors with visual feedback
- **Build temporal UI controls** for selecting dates, times, or datetime values
- **Customize slider appearance** including track colors, thumb styling, labels, ticks, and tooltips
- **Handle datetime value changes** through events and commands in MVVM patterns
- **Enable discrete selection** with specific date/time steps (daily, monthly, yearly, hourly)
- **Support RTL and accessibility** with WCAG-compliant datetime sliders
- **Add modern glass effects** with the Liquid Glass Effect (.NET 10+)

This skill is essential when working with temporal data selection, calendar-based inputs, date range filtering, time scheduling interfaces, or any scenario requiring intuitive datetime value selection in .NET MAUI.

## Component Overview

**Key Features:**
- **DateTime Support**: Select DateTime values with flexible range configuration
- **Dual Orientation**: Horizontal and vertical slider orientations
- **Rich Labeling**: Customizable date format labels with active/inactive states
- **Ticks & Dividers**: Visual indicators for major/minor intervals
- **Interactive Tooltip**: Shows selected value during interaction
- **Discrete Mode**: Step-based selection with configurable intervals
- **Visual Customization**: Full control over colors, sizes, fonts, and styles
- **Events & Commands**: Value change tracking and MVVM command support
- **Visual State Manager**: Support for enabled/disabled states
- **Liquid Glass Effect**: Modern translucent design (.NET 10, iOS/macOS 26)

## Documentation and Navigation Guide

### Getting Started
📄 **Read:** [references/getting-started.md](references/getting-started.md)

**When to read:** First-time implementation, installation, or basic setup.

**Topics covered:**
- Installation of Syncfusion.Maui.Sliders NuGet package
- Handler registration with ConfigureSyncfusionCore
- Basic DateTime Slider implementation (XAML and C#)
- Setting Minimum, Maximum, and Value properties
- Orientation configuration (Horizontal/Vertical)
- Inverse slider direction with IsInversed
- Platform-specific setup (Visual Studio, VS Code, JetBrains Rider)

### Track Configuration
📄 **Read:** [references/track-customization.md](references/track-customization.md)

**When to read:** Customizing track appearance, colors, or dimensions.

**Topics covered:**
- Minimum, Maximum, and Value property details
- Active and inactive track colors (ActiveFill, InactiveFill)
- Track height customization (ActiveSize, InactiveSize)
- Track extent for extending track edges
- TrackStyle class and properties
- Disabled track states with Visual State Manager

### Labels and Formatting
📄 **Read:** [references/labels.md](references/labels.md)

**When to read:** Displaying formatted date labels or customizing label appearance.

**Topics covered:**
- ShowLabels property to enable labels
- DateFormat property for custom date/time formats
- Label placement options (OnTicks, BetweenTicks)
- Edge label placement (Default, Inside)
- Label style customization (colors, fonts, sizes)
- Active and inactive label styling
- Label offset adjustment
- LabelCreated event for custom label text
- Disabled label states

### Ticks and Dividers
📄 **Read:** [references/ticks-and-dividers.md](references/ticks-and-dividers.md)

**When to read:** Adding visual interval indicators or customizing tick/divider appearance.

**Topics covered:**
- ShowTicks property for major ticks
- MinorTicksPerInterval for minor tick indicators
- Major and minor tick styling (colors, sizes)
- Tick offset configuration
- ShowDividers property for divider marks
- Divider styling (radius, colors, stroke)
- Active and inactive tick/divider customization
- Disabled states with Visual State Manager

### Thumb and Overlay Customization
📄 **Read:** [references/thumb-and-overlay.md](references/thumb-and-overlay.md)

**When to read:** Customizing the draggable thumb or its interactive overlay.

**Topics covered:**
- Thumb definition and purpose
- Thumb size with Radius property
- Thumb colors (Fill, Stroke, StrokeThickness)
- ThumbStyle class properties
- Thumb overlay definition and behavior
- Overlay size and color customization
- ThumbOverlayStyle properties
- Disabled thumb states with Visual State Manager

### Tooltip Configuration
📄 **Read:** [references/tooltip.md](references/tooltip.md)

**When to read:** Displaying tooltips during interaction or customizing tooltip appearance.

**Topics covered:**
- Enabling tooltip with SliderTooltip
- ShowAlways property for persistent tooltips
- Tooltip styling (Fill, Stroke, StrokeThickness)
- Tooltip text customization (TextColor, FontSize, FontFamily)
- Padding and Position properties
- DateFormat for tooltip date display
- TooltipLabelCreated event for custom tooltip text

### Intervals and Value Selection
📄 **Read:** [references/intervals-and-selection.md](references/intervals-and-selection.md)

**When to read:** Configuring date intervals, discrete selection, or deferred updates.

**Topics covered:**
- Interval property for label/tick/divider spacing
- IntervalType enumeration (Years, Months, Days, Hours, Minutes, Seconds)
- Auto interval calculation
- StepDuration for discrete selection mode
- EnableDeferredUpdate and DeferredUpdateDelay
- Different interval type examples with DateFormat

### Events and Commands
📄 **Read:** [references/events-and-commands.md](references/events-and-commands.md)

**When to read:** Handling value changes, implementing MVVM commands, or customizing labels/tooltips dynamically.

**Topics covered:**
- ValueChangeStart, ValueChanging, ValueChanged, ValueChangeEnd events
- Event handler implementation
- LabelCreated event for dynamic label customization
- TooltipLabelCreated event for tooltip text formatting
- DragStartedCommand and DragCompletedCommand
- Command parameters for MVVM binding
- Liquid Glass Effect (EnableLiquidGlassEffect property)

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.