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

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

Agent Skill

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

总安装

734

周安装

30

GitHub Stars

1

下载量

238
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态进行信息整理。
  • 通过 GitHub 仓库安装,需参考原始 README 了解具体实现方式。
  • 安装前建议确认权限边界,防止触发非预期的网络请求或文件操作。
  • 适用于项目进度跟踪和协作流程管理。

SKILL.md

Implementing Calendars (SfCalendar)

This skill guides the implementation of Syncfusion's SfCalendar, a powerful calendar control for date selection with multiple views (Month, Year, Decade, Century), comprehensive customization options, and support for special dates, blackout dates, and date range restrictions.

When to Use This Skill

Use this skill when you need to:

  • Add a calendar control for date selection in WinForms applications
  • Implement date pickers with single or multiple date selection
  • Build appointment or event date selectors
  • Create date range selection interfaces
  • Display calendars with Month, Year, Decade, and Century views
  • Restrict date selection with minimum and maximum date ranges
  • Highlight special dates with custom icons and descriptions
  • Block specific dates from selection using blackout dates
  • Customize calendar appearance with themes and cell styling
  • Localize calendars for different cultures and languages
  • Implement weekend and holiday highlighting
  • Build scheduling interfaces with visual date indicators

Component Overview

Control: SfCalendar Namespace: Syncfusion.WinForms.Input Assemblies Required:

  • Syncfusion.Core.WinForms.dll
  • Syncfusion.SfInput.WinForms.dll
  • Syncfusion.Shared.Base.dll

Key Capabilities

The SfCalendar provides comprehensive calendar functionality:

  • Multiple Views: Month, Year, Decade, and Century views for quick date navigation
  • Date Selection: Single date, multiple dates, or date range selection modes
  • Date Restrictions: MinDate and MaxDate properties to limit selectable date ranges
  • Special Dates: Highlight important dates with custom icons and descriptions
  • Blackout Dates: Block specific dates from selection with distinct styling
  • Appearance: Rich theming options, cell customization, and visual styles
  • Globalization: Culture-based localization, first day of week, date formats
  • Navigation: Easy navigation between views with Today and None buttons
  • Accessibility: Touch, keyboard, and mouse support for various interaction modes

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and assembly requirements
  • Adding SfCalendar via designer
  • Adding SfCalendar via code
  • Namespace imports and basic setup
  • Setting initial date value
  • Complete setup example

Date Selection

📄 Read: references/date-selection.md

  • Single date selection mode
  • Multiple date selection
  • Date range selection
  • MinDate and MaxDate restrictions
  • Blackout dates (blocking specific dates)
  • Special dates with icons and descriptions
  • Selection changed events
  • Programmatic date selection

Events

  • SelectedDateChanged: Raised when the single SelectedDate property changes.
  • SelectionChanged: Raised when the SelectedDates collection changes in multiple‑selection mode.

Views and Navigation

📄 Read: references/views-and-navigation.md

  • Month view (default view)
  • Year view for month selection
  • Decade view for year selection
  • Century view for decade selection
  • Navigating between views
  • Today button functionality
  • None button for clearing selection
  • Header customization

Appearance Customization

📄 Read: references/appearance-customization.md

  • Visual styles and themes (Office2016, Metro, etc.)
  • Cell customization and styling
  • Cell templates for custom rendering
  • Color customization (background, foreground, borders)
  • Font customization
  • Weekend cell highlighting
  • Current date highlighting
  • Border and padding settings

Globalization

📄 Read: references/globalization.md

  • Culture and localization support
  • Setting first day of week
  • Date format customization
  • Month and day name localization
  • Right-to-left (RTL) support
  • Culture-specific calendar systems

Quick Start Example

Here's a basic calendar with date selection:

C#:

using Syncfusion.WinForms.Input;
using System;
using System.Windows.Forms;

public class CalendarForm : Form
{
    private SfCalendar calendar;
    private Label lblSelected;

    public CalendarForm()
    {
        // Create calendar
        calendar = new SfCalendar
        {
            Location = new Point(20, 20),
            Size = new Size(350, 300)
        };

        // Handle selection change
        calendar.SelectedDateChanged += Calendar_SelectedDateChanged;

        // Create label to show selected date
        lblSelected = new Label
        {
            Location = new Point(20, 330),
            Size = new Size(350, 30),
            Text = "No date selected"
        };

        this.Controls.Add(calendar);
        this.Controls.Add(lblSelected);
        this.Text = "Calendar Example";
        this.Size = new Size(400, 420);
    }

    private void Calendar_SelectedDateChanged(object sender, EventArgs e)
    {
        if (calendar.SelectedDate.HasValue)
        {
            lblSelected.Text = $"Selected: {calendar.SelectedDate.Value:D}";
        }
    }
}

VB.NET:

Imports Syncfusion.WinForms.Input
Imports System
Imports System.Windows.Forms

Public Class CalendarForm
    Inherits Form

    Private calendar As SfCalendar
    Private lblSelected As Label

    Public Sub New()
        ' Create calendar
        calendar = New SfCalendar With {
            .Location = New Point(20, 20),
            .Size = New Size(350, 300)
        }

        ' Handle selection change
        AddHandler calendar.SelectedDateChanged, AddressOf Calendar_SelectedDateChanged

        ' Create label to show selected date
        lblSelected = New Label With {
            .Location = New Point(20, 330),
            .Size = New Size(350, 30),
            .Text = "No date selected"
        }

        Me.Controls.Add(calendar)
        Me.Controls.Add(lblSelected)
        Me.Text = "Calendar Example"
        Me.Size = New Size(400, 420)
    End Sub

    Private Sub Calendar_SelectedDateChanged(sender As Object, e As EventArgs)
        If calendar.SelectedDate.HasValue Then
            lblSelected.Text = $"Selected: {calendar.SelectedDate.Value:D}"
        End If
    End Sub
End Class

Common Patterns

Pattern 1: Date Picker with Range Restrictions

Limit selectable dates to a specific range:

C#:

SfCalendar calendar = new SfCalendar();

// Restrict to future dates only (starting from today)
calendar.MinDate = DateTime.Today;
calendar.MaxDate = DateTime.Today.AddMonths(6);

// Set initial date
calendar.SelectedDate = DateTime.Today;

Pattern 2: Appointment Selector with Special Dates

Highlight appointments or special dates:

C#:

SfCalendar calendar = new SfCalendar();

// Add special dates (appointments, holidays, etc.)
calendar.SpecialDates.Add(new SpecialDate
{
    Date = new DateTime(2026, 3, 25),
    Description = "Team Meeting",
    IconImage = Properties.Resources.MeetingIcon
});

calendar.SpecialDates.Add(new SpecialDate
{
    Date = new DateTime(2026, 3, 28),
    Description = "Project Deadline",
    IconImage = Properties.Resources.DeadlineIcon
});

Pattern 3: Multi-Select Calendar

Allow selecting multiple dates:

C#:

SfCalendar calendar = new SfCalendar();

// Enable multiple selection
calendar.AllowMultipleSelection = true;

// Get selected dates
calendar.SelectionChanged += (s, e) =>
{
    var dates = calendar.SelectedDates;
    MessageBox.Show($"Selected {dates.Count} dates");
};

Key Properties

PropertyTypeDescription
SelectedDateDateTime?Gets or sets the currently selected date
SelectedDatesObservableCollection<DateTime>Gets or sets collection of selected dates for multiple selection
MinDateDateTimeMinimum selectable date
MaxDateDateTimeMaximum selectable date
AllowMultipleSelectionboolEnables multiple date selection
ShowTodayboolShows or hides Today button
ShowNoneboolShows or hides None button for clearing selection
BlackoutDatesObservableCollection<DateTime>Collection of dates to block from selection
SpecialDatesObservableCollection<SpecialDate>Collection of special dates with icons and descriptions
CultureCultureInfoCulture for localization and formatting
FirstDayOfWeekDayOfWeekFirst day of the week (Sunday, Monday, etc.)
StyleSfCalendarStyleVisual style settings for appearance

Common Use Cases

  1. Date Picker: Single date selection for forms and input dialogs
  2. Appointment Scheduler: Select dates for appointments with special date highlighting
  3. Date Range Selector: Select start and end dates for reports or bookings
  4. Holiday Calendar: Display holidays and special events with custom icons
  5. Availability Calendar: Block unavailable dates using blackout dates for booking systems
  6. Multi-Date Selector: Select multiple dates for batch operations or recurring events
  7. Localized Calendar: Display calendars in different languages and cultures for global applications

Next Steps

Start with Getting Started to install and configure the SfCalendar, then explore specific features through the navigation guide above based on your application requirements.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.21%
按下载量换算91

Claude

29.54%
按下载量换算70

Cursor

19.09%
按下载量换算45

Gemini CLI

9.07%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills