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
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
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
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
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
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
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
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
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)
1---
2name: syncfusion-maui-date-time-slider
3description: 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.
4metadata:
5 author: "Syncfusion Inc"
6 version: "34.1.29"
7---
8
9# Implementing .NET MAUI Date Time Slider
10
11The 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.
12
13## When to Use This Skill
14
15Use this skill when user need to:
16- **Implement date selection** with a slider interface in .NET MAUI applications
17- **Create time pickers** or datetime range selectors with visual feedback
18- **Build temporal UI controls** for selecting dates, times, or datetime values
19- **Customize slider appearance** including track colors, thumb styling, labels, ticks, and tooltips
20- **Handle datetime value changes** through events and commands in MVVM patterns
21- **Enable discrete selection** with specific date/time steps (daily, monthly, yearly, hourly)
22- **Support RTL and accessibility** with WCAG-compliant datetime sliders
23- **Add modern glass effects** with the Liquid Glass Effect (.NET 10+)
24
25This 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.
26
27## Component Overview
28
29**Key Features:**
30- **DateTime Support**: Select DateTime values with flexible range configuration
31- **Dual Orientation**: Horizontal and vertical slider orientations
32- **Rich Labeling**: Customizable date format labels with active/inactive states
33- **Ticks & Dividers**: Visual indicators for major/minor intervals
34- **Interactive Tooltip**: Shows selected value during interaction
35- **Discrete Mode**: Step-based selection with configurable intervals
36- **Visual Customization**: Full control over colors, sizes, fonts, and styles
37- **Events & Commands**: Value change tracking and MVVM command support
38- **Visual State Manager**: Support for enabled/disabled states
39- **Liquid Glass Effect**: Modern translucent design (.NET 10, iOS/macOS 26)
40
41## Documentation and Navigation Guide
42
43### Getting Started
44📄 **Read:** [references/getting-started.md](references/getting-started.md)
45
46**When to read:** First-time implementation, installation, or basic setup.
47
48**Topics covered:**
49- Installation of Syncfusion.Maui.Sliders NuGet package
50- Handler registration with ConfigureSyncfusionCore
51- Basic DateTime Slider implementation (XAML and C#)
52- Setting Minimum, Maximum, and Value properties
53- Orientation configuration (Horizontal/Vertical)
54- Inverse slider direction with IsInversed
55- Platform-specific setup (Visual Studio, VS Code, JetBrains Rider)
56
57### Track Configuration
58📄 **Read:** [references/track-customization.md](references/track-customization.md)
59
60**When to read:** Customizing track appearance, colors, or dimensions.
61
62**Topics covered:**
63- Minimum, Maximum, and Value property details
64- Active and inactive track colors (ActiveFill, InactiveFill)
65- Track height customization (ActiveSize, InactiveSize)
66- Track extent for extending track edges
67- TrackStyle class and properties
68- Disabled track states with Visual State Manager
69
70### Labels and Formatting
71📄 **Read:** [references/labels.md](references/labels.md)
72
73**When to read:** Displaying formatted date labels or customizing label appearance.
74
75**Topics covered:**
76- ShowLabels property to enable labels
77- DateFormat property for custom date/time formats
78- Label placement options (OnTicks, BetweenTicks)
79- Edge label placement (Default, Inside)
80- Label style customization (colors, fonts, sizes)
81- Active and inactive label styling
82- Label offset adjustment
83- LabelCreated event for custom label text
84- Disabled label states
85
86### Ticks and Dividers
87📄 **Read:** [references/ticks-and-dividers.md](references/ticks-and-dividers.md)
88
89**When to read:** Adding visual interval indicators or customizing tick/divider appearance.
90
91**Topics covered:**
92- ShowTicks property for major ticks
93- MinorTicksPerInterval for minor tick indicators
94- Major and minor tick styling (colors, sizes)
95- Tick offset configuration
96- ShowDividers property for divider marks
97- Divider styling (radius, colors, stroke)
98- Active and inactive tick/divider customization
99- Disabled states with Visual State Manager
100
101### Thumb and Overlay Customization
102📄 **Read:** [references/thumb-and-overlay.md](references/thumb-and-overlay.md)
103
104**When to read:** Customizing the draggable thumb or its interactive overlay.
105
106**Topics covered:**
107- Thumb definition and purpose
108- Thumb size with Radius property
109- Thumb colors (Fill, Stroke, StrokeThickness)
110- ThumbStyle class properties
111- Thumb overlay definition and behavior
112- Overlay size and color customization
113- ThumbOverlayStyle properties
114- Disabled thumb states with Visual State Manager
115
116### Tooltip Configuration
117📄 **Read:** [references/tooltip.md](references/tooltip.md)
118
119**When to read:** Displaying tooltips during interaction or customizing tooltip appearance.
120
121**Topics covered:**
122- Enabling tooltip with SliderTooltip
123- ShowAlways property for persistent tooltips
124- Tooltip styling (Fill, Stroke, StrokeThickness)
125- Tooltip text customization (TextColor, FontSize, FontFamily)
126- Padding and Position properties
127- DateFormat for tooltip date display
128- TooltipLabelCreated event for custom tooltip text
129
130### Intervals and Value Selection
131📄 **Read:** [references/intervals-and-selection.md](references/intervals-and-selection.md)
132
133**When to read:** Configuring date intervals, discrete selection, or deferred updates.
134
135**Topics covered:**
136- Interval property for label/tick/divider spacing
137- IntervalType enumeration (Years, Months, Days, Hours, Minutes, Seconds)
138- Auto interval calculation
139- StepDuration for discrete selection mode
140- EnableDeferredUpdate and DeferredUpdateDelay
141- Different interval type examples with DateFormat
142
143### Events and Commands
144📄 **Read:** [references/events-and-commands.md](references/events-and-commands.md)
145
146**When to read:** Handling value changes, implementing MVVM commands, or customizing labels/tooltips dynamically.
147
148**Topics covered:**
149- ValueChangeStart, ValueChanging, ValueChanged, ValueChangeEnd events
150- Event handler implementation
151- LabelCreated event for dynamic label customization
152- TooltipLabelCreated event for tooltip text formatting
153- DragStartedCommand and DragCompletedCommand
154- Command parameters for MVVM binding
155- Liquid Glass Effect (EnableLiquidGlassEffect property)
156