Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-winui-calendar-date-range-picker(Synfusion WinUI 日历日期范围选择器)

syncfusion-winui-calendar-date-range-picker 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

syncfusion-winui-calendar-date-range-picker 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 6,045。

总安装 563周安装 23GitHub Stars 公开资料未说明下载 182核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-winui-calendar-date-range-picker(Synfusion WinUI 日历日期范围选择器)
来源仓库:https://github.com/syncfusion/winui-ui-components-skills
仓库路径:skills/syncfusion-winui-calendar-date-range-picker
安装命令:
npx skills add https://github.com/syncfusion/winui-ui-components-skills --skill syncfusion-winui-calendar-date-range-picker
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/winui-ui-components-skills --skill syncfusion-winui-calendar-date-range-picker

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或协作事项进行整理。通过 npx skills add 命令从指定仓库安装并使用。安装前需确认权限范围和维护状态,避免触发联网或文件读写操作。

syncfusion-winui-calendar-date-range-picker 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/syncfusion-winui-calendar-date-range-picker

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/syncfusion/winui-ui-components-skills --skill…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

syncfusion-winui-calendar-date-range-picker 怎么安装?

在终端执行 npx skills add https://github.com/syncfusion/winui-ui-components-skills --skill syncfusion…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

syncfusion-winui-calendar-date-range-picker 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

syncfusion-winui-calendar-date-range-picker 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

syncfusion-winui-calendar-date-range-picker 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

syncfusion-winui-calendar-date-range-picker 用的人多吗?

公开数据是累计安装 563 次,近一周安装 23 次,下载 182 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

syncfusion-winui-calendar-date-range-picker 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
syncfusion-winui-calendar-date-range-picker

Synfusion WinUI 日历日期范围选择器 · 本页

563—只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Implementing Calendar DateRange Picker

The WinUI CalendarDateRangePicker (SfCalendarDateRangePicker) control provides an intuitive, touch-friendly interface to quickly select a date range from a drop-down calendar. It supports different date formats, date range restrictions, preset items, week numbers, localization, and extensive UI customization options.

When to Use This Skill

Use this skill when you need to:

  • Implement date range selection - Allow users to select a continuous range of dates (start date and end date) from a calendar
  • Add CalendarDateRangePicker to WinUI apps - Install, configure, and use the SfCalendarDateRangePicker control
  • Configure range selection - Set selected range programmatically, handle range change events, validate range selection
  • Restrict date selection - Apply min/max dates, blackout specific dates, limit range duration, block weekend dates
  • Customize calendar UI - Change drop-down alignment, customize item templates, apply themes, modify appearance
  • Support localization - Use different calendar types (Gregorian, Hebrew, Hijri, etc.), change languages, apply RTL
  • Format date display - Customize how dates and ranges are displayed in the editor and calendar
  • Show preset ranges - Display predefined date ranges (This Week, This Month, Last Month, This Year, Custom Range)
  • Enable week numbers - Show week numbers in the calendar with customizable rules and formats
  • Handle navigation - Control view navigation (month, year, decade, century), keyboard shortcuts
  • Validate date ranges - Ensure selected ranges meet minimum/maximum duration requirements

Component Overview

The CalendarDateRangePicker control consists of:

  • Editor - Text input displaying the selected date range
  • Drop-down button - Opens the calendar drop-down
  • Drop-down calendar - Interactive calendar for range selection with month/year/decade/century views
  • Preset items panel - Optional list of predefined date ranges
  • Submit buttons - Optional OK/Cancel buttons for range confirmation
  • Week numbers column - Optional display of week numbers
  • Header and description - Optional title and helper text

Key capabilities:

  • Touch-friendly range selection
  • Multiple calendar systems (Gregorian, Hebrew, Hijri, Korean, etc.)
  • Customizable date formats
  • Date range restrictions and validation
  • Blackout dates support
  • Preset date ranges
  • Week number display
  • Keyboard navigation
  • Theme customization

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

Use when:

  • Installing the CalendarDateRangePicker control for the first time
  • Adding the control to XAML or C# code
  • Setting the selected range programmatically or interactively
  • Configuring header, description, and placeholder text
  • Handling selection changed events (SelectedDateRangeChanged)
  • Showing or hiding the drop-down button
  • Configuring submit buttons (OK/Cancel)
  • Understanding basic control structure and setup

UI Customization

📄 Read: references/ui-customization.md

Use when:

  • Changing drop-down alignment (top, bottom, left, right, center)
  • Customizing drop-down calendar size
  • Creating custom calendar item templates
  • Highlighting special dates with custom styling
  • Applying theme keys for colors and fonts
  • Customizing day, week, and header appearance
  • Using AttachedFlyout and DropDownFlyout for advanced customization
  • Styling the CalendarItem control
  • Creating event-based date decorations

Localization and Formatting

📄 Read: references/localization-formatting.md

Use when:

  • Using different calendar types (Hebrew, Hijri, Korean, Thai, Persian, etc.)
  • Changing the display language (Arabic, French, Japanese, etc.)
  • Customizing editor display format (DisplayDateFormat)
  • Formatting calendar days, months, and headers
  • Changing the first day of the week
  • Implementing right-to-left (RTL) flow direction
  • Applying locale-specific date formatting
  • Supporting international date conventions

Navigation Between Views

📄 Read: references/navigation.md

Use when:

  • Enabling navigation between month, year, decade, and century views
  • Restricting navigation with MinDisplayMode and MaxDisplayMode
  • Implementing view-based selection (e.g., month/year for credit cards)
  • Understanding keyboard navigation shortcuts
  • Controlling which views users can access
  • Navigating to specific dates or view levels
  • Handling view switching in code

Restricting Date Range Selection

📄 Read: references/date-restrictions.md

Use when:

  • Setting minimum and maximum selectable dates (MinDate, MaxDate)
  • Blocking specific dates using BlackoutDates collection
  • Disabling weekend dates or holidays dynamically
  • Using ItemPrepared event for custom date restrictions
  • Limiting range duration (MinDatesCountInRange, MaxDatesCountInRange)
  • Validating selected date ranges
  • Preventing invalid date range selection
  • Customizing display text for blocked dates

Preset Items

📄 Read: references/preset-items.md

Use when:

  • Showing predefined date ranges (This Week, This Month, Last Month, This Year)
  • Creating custom preset items collection
  • Implementing PresetTemplate for custom preset UI
  • Handling preset selection events
  • Hiding calendar when preset is selected (ShowCalendar)
  • Calculating date ranges for preset items
  • Allowing custom range selection alongside presets

Week Numbers

📄 Read: references/week-numbers.md

Use when:

  • Enabling week number display (ShowWeekNumbers)
  • Configuring week number rules (FirstDay, FirstFourDayWeek, FirstFullWeek)
  • Customizing week number format with prefix/suffix
  • Using WeekNumberTemplate for custom week number appearance
  • Customizing WeekNameTemplate for day-of-week headers
  • Understanding CalendarWeekRule options
  • Applying week-based business logic

Quick Start

Basic Implementation

XAML:

<Window xmlns:calendar="using:Syncfusion.UI.Xaml.Calendar">
    <Grid>
        <calendar:SfCalendarDateRangePicker
            x:Name="sfCalendarDateRangePicker"
            HorizontalAlignment="Center"
            VerticalAlignment="Center"
            PlaceholderText="Select a date range" />
    </Grid>
</Window>

C#:

using Syncfusion.UI.Xaml.Calendar;

SfCalendarDateRangePicker sfCalendarDateRangePicker = new SfCalendarDateRangePicker();
sfCalendarDateRangePicker.PlaceholderText = "Select a date range";
this.Content = sfCalendarDateRangePicker;

Setting Selected Range Programmatically

// Set a date range
sfCalendarDateRangePicker.SelectedRange = new DateTimeOffsetRange(
    new DateTimeOffset(new DateTime(2026, 3, 1)),
    new DateTimeOffset(new DateTime(2026, 3, 15))
);

// Clear selection
sfCalendarDateRangePicker.SelectedRange = null;

Handling Selection Changes

sfCalendarDateRangePicker.SelectedDateRangeChanged += (sender, e) =>
{
    var startOld = e.RangeStartOldValue;
    var startNew = e.RangeStartNewValue;
    var endOld = e.RangeEndOldValue;
    var endNew = e.RangeEndNewValue;

    // Process the new range
    if (startNew.HasValue && endNew.HasValue)
    {
        TimeSpan duration = endNew.Value - startNew.Value;
        Debug.WriteLine($"Selected range: {duration.Days} days");
    }
};

Common Patterns

Pattern 1: Date Range with Restrictions

// Restrict to future dates within 90 days
sfCalendarDateRangePicker.MinDate = DateTimeOffset.Now;
sfCalendarDateRangePicker.MaxDate = DateTimeOffset.Now.AddDays(90);
sfCalendarDateRangePicker.MinDatesCountInRange = 3;  // Minimum 3 days
sfCalendarDateRangePicker.MaxDatesCountInRange = 14; // Maximum 14 days

Pattern 2: Blocking Weekend Dates

sfCalendarDateRangePicker.ItemPrepared += (sender, e) =>
{
    if (e.ItemInfo.ItemType == CalendarItemType.Day &&
        (e.ItemInfo.Date.DayOfWeek == DayOfWeek.Saturday ||
         e.ItemInfo.Date.DayOfWeek == DayOfWeek.Sunday))
    {
        e.ItemInfo.IsBlackout = true;
    }
};

Pattern 3: With Header and Description

<calendar:SfCalendarDateRangePicker
    Header="Travel Dates"
    Description="Select your departure and return dates"
    PlaceholderText="Choose dates"
    Width="300" />

Pattern 4: Custom Display Format

// Display as full date names
sfCalendarDateRangePicker.DisplayDateFormat = "{0:D} - {1:D}";
// Example: "Saturday, March 1, 2026 - Sunday, March 15, 2026"

Pattern 5: Localized Calendar

// Hebrew calendar with RTL support
sfCalendarDateRangePicker.CalendarIdentifier = "HebrewCalendar";
sfCalendarDateRangePicker.Language = "he-IL";
sfCalendarDateRangePicker.FlowDirection = FlowDirection.RightToLeft;

Key Properties

Selection Properties

  • SelectedRange - Gets or sets the selected date range (DateTimeOffsetRange)
  • MinDatesCountInRange - Minimum number of dates in the selected range
  • MaxDatesCountInRange - Maximum number of dates in the selected range

Restriction Properties

  • MinDate - Minimum selectable date (default: 1/1/1920)
  • MaxDate - Maximum selectable date (default: 12/31/2120)
  • BlackoutDates - Collection of dates to disable

Display Properties

  • DisplayDateFormat - Format for displaying the selected range in the editor (default: "{0:d}-{1:d}")
  • PlaceholderText - Watermark text when no range is selected
  • Header - Title above the control
  • HeaderTemplate - Custom template for the header
  • Description - Helper text below the control

Calendar Properties

  • CalendarIdentifier - Calendar system (Gregorian, Hebrew, Hijri, etc.)
  • FirstDayOfWeek - Starting day of the week
  • ShowWeekNumbers - Display week numbers
  • WeekNumberRule - Rule for determining first week (FirstDay, FirstFourDayWeek, FirstFullWeek)
  • WeekNumberFormat - Format for week numbers (default: "#")

Format Properties

  • DayFormat - Format for day numbers in calendar
  • MonthFormat - Format for month names in year view
  • MonthHeaderFormat - Format for month/year header
  • DayOfWeekFormat - Format for day-of-week names

Navigation Properties

  • MinDisplayMode - Minimum view level (Month, Year, Decade, Century)
  • MaxDisplayMode - Maximum view level (Month, Year, Decade, Century)

Drop-down Properties

  • ShowDropDownButton - Show or hide the drop-down button
  • ShowSubmitButtons - Show or hide OK/Cancel buttons
  • ShowCalendar - Show or hide the calendar in drop-down
  • DropDownPlacement - Alignment of drop-down (Bottom, Top, Left, Right, Center)
  • DropDownHeight - Height of the drop-down calendar

Preset Properties

  • Preset - Collection of preset date ranges
  • PresetTemplate - Template for displaying preset items
  • PresetPosition - Position of preset items (Left, Right, Top, Bottom)

Common Use Cases

  1. Booking Systems - Hotel reservations, flight bookings, rental services
  2. Reporting Tools - Select date ranges for reports and analytics
  3. Project Management - Define project start and end dates, sprint planning
  4. Calendar Applications - Event scheduling, meeting planning
  5. Financial Applications - Select statement periods, transaction date ranges
  6. HR Systems - Leave management, vacation planning, time tracking
  7. E-commerce - Delivery date selection, promotional period setup
  8. Healthcare - Appointment scheduling, treatment duration planning

Related Skills

平台分布

Codex

35.84%
按下载量换算65

Claude

29.4%
按下载量换算54

Cursor

18.67%
按下载量换算34

Gemini CLI

9.94%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills