Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

syncfusion-wpf-calendar同步融合 wpf 日历

Agent Skill

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

总安装

1,004

周安装

41

GitHub Stars

2

下载量

325
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-calendar

简介

同步融合 WPF 日历控件,用于日期选择和时间范围管理的用户界面组件。

  • 适合在日程安排、预约系统或数据录入类 WPF 应用中处理日期相关交互。
  • 通过 GitHub 安装技能模块,利用 npx skills add 命令完成本地集成。
  • 需确保宿主环境支持 WPF 框架并正确加载 Syncfusion 控件库引用。
  • 实际部署前应查阅 SKILL.md 获取本地化设置、样式定制等高级配置说明。

SKILL.md

WPF Calendar (CalendarEdit) Implementation Guide

The CalendarEdit control provides a comprehensive calendar UI for selecting and managing dates in WPF applications. It supports single and multiple date selection, date range restrictions, customizable appearance, and powerful navigation modes from day to decade views.

When to Use This Skill

  • Date Selection: When you need users to select single or multiple dates
  • Calendar UI: Building calendar controls with month/year navigation
  • Date Restrictions: Implementing date range constraints or blocking specific dates
  • Scheduling: Creating booking, appointment, or event selection interfaces
  • Date Manipulation: Using calendar methods for date arithmetic (add days, months, etc.)
  • Appearance Customization: Styling calendar colors, brushes, and visual properties
  • Multi-language Support: Supporting RTL (right-to-left) layouts and different cultures

Component Overview

Key Features:

  • Support for dates from year 0 to year 9999
  • Single and multiple date selection modes
  • Day, month, year, and decade navigation views
  • Min/max date constraints and blackout date blocking
  • Customizable colors, brushes, and animations
  • RTL and culture support
  • Built-in animation for smooth transitions

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and assembly setup
  • Adding CalendarEdit via designer, XAML, and C#
  • Basic control structure and initial setup

Date Selection

📄 Read: references/date-selection.md

  • Select single dates (mouse click and programmatically)
  • Select multiple dates (drag selection and Ctrl+click)
  • Working with Date and SelectedDates properties

Navigation Features

📄 Read: references/navigation.md

  • Navigate between day, month, year, and decade modes
  • Header navigation, keyboard shortcuts, and animation controls
  • Customizing header appearance and animation timing

Restrict Date Selection

📄 Read: references/restrict-dates.md

  • Set date range constraints (MinDate and MaxDate)
  • Hide or show disabled dates outside the range
  • Disable all date selection or block specific date ranges

Appearance & Customization

📄 Read: references/appearance.md

  • Customize foreground, background, and brush colors
  • RTL layout support and flow direction
  • Calendar object methods for date arithmetic operations

Quick Start

Basic XAML Setup

<Window x:Class="CalendarDemo.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
        Title="Calendar Demo" Height="450" Width="500">
    <Grid>
        <!-- Basic calendar control -->
        <syncfusion:CalendarEdit Name="calendarEdit"
                                 Height="250"
                                 Width="300"
                                 VerticalAlignment="Center"
                                 HorizontalAlignment="Center"/>
    </Grid>
</Window>

Basic C# Setup

using Syncfusion.Windows.Shared;

CalendarEdit calendarEdit = new CalendarEdit();
calendarEdit.Height = 250;
calendarEdit.Width = 300;

// Get selected date
DateTime selectedDate = calendarEdit.Date;

// Set selected date programmatically
calendarEdit.Date = new DateTime(2024, 3, 15);

Common Patterns

Pattern 1: Single Date Selection with Range Restriction

// Allow only dates in March 2024
calendarEdit.MinDate = new DateTime(2024, 3, 1);
calendarEdit.MaxDate = new DateTime(2024, 3, 31);
calendarEdit.Date = new DateTime(2024, 3, 15);

// Get the selected date
DateTime selectedDate = calendarEdit.Date;

Pattern 2: Multiple Date Selection

// Enable multiple date selection
calendarEdit.AllowMultiplySelection = true;

// Select multiple dates by dragging or Ctrl+clicking
// Retrieve all selected dates
var selectedDates = calendarEdit.SelectedDates;

Pattern 3: Block Specific Dates (Blackout Dates)

// Block specific date ranges
calendarEdit.BlackoutDates.Add(new DateTime(2024, 3, 5));
calendarEdit.BlackoutDates.Add(new DateTime(2024, 3, 20));

// Users cannot select these dates
calendarEdit.Date = new DateTime(2024, 3, 15);

Pattern 4: Customize Calendar Appearance

using System.Windows.Media;

// Customize colors
calendarEdit.Foreground = Brushes.Blue;
calendarEdit.Background = Brushes.White;
calendarEdit.MouseOverForeground = Brushes.Red;
calendarEdit.MouseOverBackground = Brushes.Lavender;

// Customize header
calendarEdit.HeaderBackground = Brushes.Green;
calendarEdit.HeaderForeground = Brushes.Yellow;

Key Properties Reference

PropertyTypeDescription
DateDateTimeGets or sets the currently selected date
SelectedDatesCollectionGets all selected dates in multi-selection mode
AllowMultiplySelectionboolEnables or disables multiple date selection
MinDateDateTimeSets the earliest selectable date
MaxDateDateTimeSets the latest selectable date
BlackoutDatesCollectionContains dates that cannot be selected
DisableDateSelectionboolDisables date selection (month/year still selectable)
MinMaxHiddenboolHides dates outside MinDate/MaxDate range
HeaderBackgroundBrushCustomizes the header background color
HeaderForegroundBrushCustomizes the header text color
ChangeModeTimeintAnimation duration for mode changes (ms)
FrameMovingTimeintAnimation duration for month transitions (ms)

Next Steps: Choose a reference file above based on what you need to implement. Start with "Getting Started" if setting up CalendarEdit for the first time.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.2%
按下载量换算108

Claude

28.45%
按下载量换算92

Cursor

19.84%
按下载量换算64

Gemini CLI

8.7%
按下载量换算28

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills