Implementing Syncfusion .NET MAUI DatePicker (SfDatePicker)
Syncfusion .NET MAUI DatePicker (SfDatePicker) control allows you to select dates with a visually rich, customizable picker interface. The control supports dialog and drop-down modes, extensive customization options, date restrictions, formatting, localization, and accessibility features.
When to Use This Skill
Use this skill when you need to:
- Implement date selection - Add date picker controls to .NET MAUI applications
- Format dates - Display dates in various formats (20+ predefined options)
- Restrict date selection - Set minimum/maximum dates, blackout specific dates
- Customize appearance - Style headers, footers, column headers, selection views
- Handle date events - Respond to date selection, dialog open/close, OK/Cancel actions
- Configure picker modes - Use Dialog, RelativeDialog, or Default display modes
- Add intervals - Set day/month/year intervals for selection
- Enable accessibility - Support keyboard navigation and localization
- Apply modern effects - Implement liquid glass effect (.NET 10+)
Component Overview
Key Capabilities:
- Date Selection - Interactive date picker with day, month, year columns
- Multiple Formats - 20+ predefined date formats (dd/MM/yyyy, MM/dd/yyyy, etc.)
- Picker Modes - Dialog, RelativeDialog with customizable positions
- Customization - Headers, footers, column headers, selection views, colors, fonts
- Date Restrictions - Min/max dates, blackout dates collection
- Intervals - Day, month, year intervals for custom date ranges
- Events & Commands - SelectionChanged, dialog events, footer button events
- Accessibility - Keyboard navigation, screen reader support, localization
- Advanced - Text display modes (Fade, Shrink), liquid glass effect
Documentation and Navigation Guide
Getting Started
📄 Read: references/getting-started.md
- Installation and NuGet package setup
- Handler registration in MauiProgram.cs
- Basic DatePicker implementation (XAML & C#)
- Setting header, footer, height, width
- SelectedDate property and clear selection
Date Formatting
📄 Read: references/formatting.md
- 20+ predefined date formats
- Format property usage
- Common format patterns (dd_MM_yyyy, MM_dd_yyyy, etc.)
- Custom format examples
Picker Modes and Display
📄 Read: references/picker-modes.md
- Dialog mode (popup display)
- RelativeDialog mode (positioned relative to view)
- 8 relative positions (AlignTop, AlignBottom, etc.)
- IsOpen property for programmatic control
- Custom popup size (PopupWidth, PopupHeight)
Customization and Styling
📄 Read: references/customizations.md
- Header customization (text, divider, background, template)
- Column header customization (day/month/year headers)
- Footer customization (OK/Cancel buttons)
- Selection view customization (corner radius, stroke, padding)
- Column divider colors
- Close button and icon
- Column-specific text styles and widths
- DataTemplateSelector support
Date Restrictions
📄 Read: references/date-restrictions.md
- MinimumDate property
- MaximumDate property
- BlackoutDates collection
- Date range validation
- Preventing selection beyond ranges
Intervals and Looping
📄 Read: references/intervals-and-looping.md
- DayInterval property
- MonthInterval property
- YearInterval property
- EnableLooping for seamless navigation
Events and Commands
📄 Read: references/events-and-commands.md
- SelectionChanged event (NewValue, OldValue)
- Dialog mode events (Opened, Closing, Closed)
- Footer events (OkButtonClicked, CancelButtonClicked)
- SelectionChangedCommand, AcceptCommand, DeclineCommand
- Event handling patterns
Accessibility and Localization
📄 Read: references/accessibility-localization.md
- Accessibility features for headers, footers, picker items
- Keyboard navigation (Tab, Enter, Arrow keys)
- Localization setup and resource files
- CurrentUICulture configuration
- Multilingual support
Advanced Features
📄 Read: references/advanced-features.md
- Text display modes (Default, Fade, Shrink, FadeAndShrink)
- Liquid glass effect integration
- SfGlassEffectView setup
- EnableLiquidGlassEffect property
- Platform requirements (.NET 10, macOS 26+, iOS 26+)
1---
2name: syncfusion-maui-date-picker
3description: Implements Syncfusion .NET MAUI DatePicker (SfDatePicker) control for date selection. Use when implementing date pickers, adding date selection UI, or working with SfDatePicker control. Covers date picker appearance customization (headers, footers, columns), date formatting (20+ predefined formats), date restrictions (min/max dates, blackout dates), and picker modes (Dialog, RelativeDialog).
4metadata:
5 author: "Syncfusion Inc"
6 version: "34.1.29"
7---
8
9# Implementing Syncfusion .NET MAUI DatePicker (SfDatePicker)
10
11Syncfusion .NET MAUI DatePicker (SfDatePicker) control allows you to select dates with a visually rich, customizable picker interface. The control supports dialog and drop-down modes, extensive customization options, date restrictions, formatting, localization, and accessibility features.
12
13## When to Use This Skill
14
15Use this skill when you need to:
16
17- **Implement date selection** - Add date picker controls to .NET MAUI applications
18- **Format dates** - Display dates in various formats (20+ predefined options)
19- **Restrict date selection** - Set minimum/maximum dates, blackout specific dates
20- **Customize appearance** - Style headers, footers, column headers, selection views
21- **Handle date events** - Respond to date selection, dialog open/close, OK/Cancel actions
22- **Configure picker modes** - Use Dialog, RelativeDialog, or Default display modes
23- **Add intervals** - Set day/month/year intervals for selection
24- **Enable accessibility** - Support keyboard navigation and localization
25- **Apply modern effects** - Implement liquid glass effect (.NET 10+)
26
27## Component Overview
28
29**Key Capabilities:**
30- **Date Selection** - Interactive date picker with day, month, year columns
31- **Multiple Formats** - 20+ predefined date formats (dd/MM/yyyy, MM/dd/yyyy, etc.)
32- **Picker Modes** - Dialog, RelativeDialog with customizable positions
33- **Customization** - Headers, footers, column headers, selection views, colors, fonts
34- **Date Restrictions** - Min/max dates, blackout dates collection
35- **Intervals** - Day, month, year intervals for custom date ranges
36- **Events & Commands** - SelectionChanged, dialog events, footer button events
37- **Accessibility** - Keyboard navigation, screen reader support, localization
38- **Advanced** - Text display modes (Fade, Shrink), liquid glass effect
39
40## Documentation and Navigation Guide
41
42### Getting Started
43📄 **Read:** [references/getting-started.md](references/getting-started.md)
44- Installation and NuGet package setup
45- Handler registration in MauiProgram.cs
46- Basic DatePicker implementation (XAML & C#)
47- Setting header, footer, height, width
48- SelectedDate property and clear selection
49
50### Date Formatting
51📄 **Read:** [references/formatting.md](references/formatting.md)
52- 20+ predefined date formats
53- Format property usage
54- Common format patterns (dd_MM_yyyy, MM_dd_yyyy, etc.)
55- Custom format examples
56
57### Picker Modes and Display
58📄 **Read:** [references/picker-modes.md](references/picker-modes.md)
59- Dialog mode (popup display)
60- RelativeDialog mode (positioned relative to view)
61- 8 relative positions (AlignTop, AlignBottom, etc.)
62- IsOpen property for programmatic control
63- Custom popup size (PopupWidth, PopupHeight)
64
65### Customization and Styling
66📄 **Read:** [references/customizations.md](references/customizations.md)
67- Header customization (text, divider, background, template)
68- Column header customization (day/month/year headers)
69- Footer customization (OK/Cancel buttons)
70- Selection view customization (corner radius, stroke, padding)
71- Column divider colors
72- Close button and icon
73- Column-specific text styles and widths
74- DataTemplateSelector support
75
76### Date Restrictions
77📄 **Read:** [references/date-restrictions.md](references/date-restrictions.md)
78- MinimumDate property
79- MaximumDate property
80- BlackoutDates collection
81- Date range validation
82- Preventing selection beyond ranges
83
84### Intervals and Looping
85📄 **Read:** [references/intervals-and-looping.md](references/intervals-and-looping.md)
86- DayInterval property
87- MonthInterval property
88- YearInterval property
89- EnableLooping for seamless navigation
90
91### Events and Commands
92📄 **Read:** [references/events-and-commands.md](references/events-and-commands.md)
93- SelectionChanged event (NewValue, OldValue)
94- Dialog mode events (Opened, Closing, Closed)
95- Footer events (OkButtonClicked, CancelButtonClicked)
96- SelectionChangedCommand, AcceptCommand, DeclineCommand
97- Event handling patterns
98
99### Accessibility and Localization
100📄 **Read:** [references/accessibility-localization.md](references/accessibility-localization.md)
101- Accessibility features for headers, footers, picker items
102- Keyboard navigation (Tab, Enter, Arrow keys)
103- Localization setup and resource files
104- CurrentUICulture configuration
105- Multilingual support
106
107### Advanced Features
108📄 **Read:** [references/advanced-features.md](references/advanced-features.md)
109- Text display modes (Default, Fade, Shrink, FadeAndShrink)
110- Liquid glass effect integration
111- SfGlassEffectView setup
112- EnableLiquidGlassEffect property
113- Platform requirements (.NET 10, macOS 26+, iOS 26+)
114