syncfusion/maui-ui-components-skills

syncfusion-maui-date-picker

Implements Syncfusion .NET MAUI DatePicker (SfDatePicker) control for date selection.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/syncfusion/maui-ui-components-skills --skill syncfusion-maui-date-picker

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

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 (ddMMyyyy, MMddyyyy, 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+)

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills