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

syncfusion-winforms-scheduler同步融合 winform 调度程序

Agent Skill

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

总安装

222

周安装

9

GitHub Stars

公开资料未说明

下载量

70
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

Syncfusion WinForms 调度程序控件,用于日历视图的事件管理与时间安排展示。

  • 广泛应用于日程安排、会议预约、资源调度等时间轴相关应用。
  • 支持日/周/月视图切换、拖拽调整、重复事件、提醒通知等功能。
  • 使用前请检查 Syncfusion 许可证是否覆盖此模块,并验证对时区处理的准确性。
  • 注意高并发事件渲染的性能优化,建议采用懒加载或按需加载策略减轻初始负担。

SKILL.md

Implementing Windows Forms Scheduler (Event Calendar)

The Syncfusion Windows Forms Scheduler is a comprehensive calendar control that provides scheduling functionality similar to Microsoft Outlook. It enables users to create, view, and manage appointments across multiple view types (Month, Day, Week, WorkWeek, CustomWeek) with support for recurring appointments, drag-and-drop operations, touch gestures, and extensive customization options.

When to Use This Skill

Use this skill when you need to:

  • Build calendar and scheduling interfaces in Windows Forms applications
  • Display appointments in Month, Day, Week, WorkWeek, or CustomWeek views
  • Implement recurring appointments (daily, weekly, monthly, yearly, or time-based recurrence)
  • Enable appointment CRUD operations (Create, Read, Update, Delete) with data persistence
  • Add drag-and-drop functionality for appointment scheduling and rescheduling
  • Customize calendar appearance (colors, themes, headers, navigation, prime time)
  • Support touch interactions (swipe, zoom, pan) for modern devices
  • Bind schedule data to custom data providers or databases
  • Create Outlook-style calendar applications with navigation calendars and time slots
  • Manage time intervals with seconds/minutes precision for detailed scheduling

Component Overview

The Windows Forms Scheduler control is built around the Grid control and provides:

  • Multiple View Types: Month, Day, Week, WorkWeek, and CustomWeek views
  • Navigation Calendar: Multi-month calendar for date selection
  • Appointment Management: Full CRUD support with dialog-based editing
  • Recurrence Engine: Complex recurring patterns with time-based intervals
  • Data Architecture: Flexible data binding through interfaces (IScheduleAppointment, IScheduleDataProvider)
  • Interactive Features: Drag-and-drop, resizing, context menus, tooltips
  • Touch Support: Swipe scrolling, zooming, and gesture-based navigation
  • Appearance Customization: Extensive styling options for all UI elements
  • Theme Support: Office 2003/2007/2010, Metro, and custom themes

Key Components:

  • ScheduleControl: Main user control containing all scheduling functionality
  • ScheduleAppointment: Data object representing individual appointments
  • ScheduleDataProvider: Base class for data management and persistence
  • NavigationCalendar: Multi-month calendar for date navigation
  • Caption Panel: Navigation buttons and header display
  • Navigation Panel: Sidebar containing navigation calendar and custom controls

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and assembly deployment
  • Creating ScheduleControl via designer or code
  • Data binding with SimpleScheduleDataProvider
  • Basic appointment CRUD operations (insert, edit, delete)
  • Saving and loading appointment data
  • Setting appointment text colors

Views and Navigation

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

  • Schedule view types (Month, Day, Week, WorkWeek, CustomWeek)
  • Changing views programmatically and via context menu
  • Navigation calendar configuration and properties
  • Navigation panel and caption panel customization
  • Week number display and calendar layout
  • Date navigation and selection events

Appointments and Data Management

📄 Read: references/appointments-and-data.md

  • ScheduleAppointment class properties (StartTime, EndTime, Subject, Content, etc.)
  • ScheduleAppointmentList collection methods
  • ScheduleDataProvider base class implementation
  • Data interfaces (IScheduleAppointment, IScheduleAppointmentList, IScheduleDataProvider)
  • Creating custom data providers
  • Drop list data (labels, markers, reminders, locations, owners)
  • CommitChanges and SaveOnCloseBehavior
  • NewScheduleAppointment, AddItem, RemoveItem methods

Recurrence Appointments

📄 Read: references/recurrence-appointments.md

  • Recurrence rule syntax and format
  • Rule types (Every DAY, WEEKDAY, WEEKEND, WEEK, MONTH, QUARTER, YEAR)
  • Time-based recurrence (Every SEC, Every MIN, Every HR)
  • AllowSecondsInAppointment property for sub-hour intervals
  • Adding recurrence via appointment dialog UI
  • Adding recurrence programmatically via RecurrenceRule property
  • IRecurringScheduleAppointment and IRecurringScheduleDataProvider interfaces
  • Complex recurrence patterns with end dates and intervals

Customizing Appearance

📄 Read: references/customizing-appearance.md

  • Appearance property and ScheduleAppearance object
  • Border customization (ClickItemBorderColor, DragColor, SolidBorderColor)
  • Caption and header customization
  • Display item format strings for dates and times
  • Navigation calendar appearance (colors, selection, today marker)
  • Prime time configuration (start/end times and colors)
  • Time column customization (24-hour format, font sizes, colors)
  • Visual styles and Metro theme support
  • ThemesEnabled property
  • ThemeChanged event: Subscribe to ThemeChanged via scheduleControl1.GetScheduleHost().ThemeChanged (not directly on ScheduleControl)

Touch and Interaction

📄 Read: references/touch-and-interaction.md

  • EnableTouchMode property for touch support
  • Touch swiping (vertical scrolling and horizontal navigation)
  • Touch zooming to change views
  • Appointment dragging and resizing
  • ItemChanging event and ItemDragHitContext
  • Use e.ProposedItem in ItemChanging event handlers for appointment details
  • Detecting drag context (Schedule vs Calendar areas)
  • Canceling drag operations based on drop location
  • ItemAction enumeration

Quick Start Example

using System;
using System.Windows.Forms;
using Syncfusion.Windows.Forms.Schedule;

namespace SchedulerApp
{
    public partial class Form1 : Form
    {
        private ScheduleControl scheduleControl1;

        public Form1()
        {
            InitializeComponent();
            InitializeScheduler();
        }

        private void InitializeScheduler()
        {
            // Create ScheduleControl
            scheduleControl1 = new ScheduleControl();
            scheduleControl1.Location = new Point(20, 20);
            scheduleControl1.Size = new Size(800, 600);

            // Set up data provider
            SimpleScheduleDataProvider data = new SimpleScheduleDataProvider();
            data.MasterList = new SimpleScheduleAppointmentList();
            data.FileName = "appointments.schedule";

            // Configure view and data binding
            scheduleControl1.ScheduleType = ScheduleViewType.Month;
            scheduleControl1.DataSource = data;

            // Add to form
            this.Controls.Add(scheduleControl1);
        }
    }
}

Common Patterns

Creating and Adding Appointments

// Get the data provider
SimpleScheduleDataProvider dataProvider = scheduleControl1.DataSource as SimpleScheduleDataProvider;

// Create new appointment
IScheduleAppointment appointment = dataProvider.NewScheduleAppointment();
appointment.StartTime = DateTime.Now.AddHours(1);
appointment.EndTime = DateTime.Now.AddHours(2);
appointment.Subject = "Team Meeting";
appointment.Content = "Discuss project milestones";
appointment.LabelValue = 2; // Business category
appointment.ForeColor = Color.Blue;

// Add to data provider
dataProvider.AddItem(appointment);

// Save changes
dataProvider.CommitChanges();

Creating Recurring Appointments

// Cast to recurring data provider
IRecurringScheduleDataProvider recurringProvider =
    scheduleControl1.DataSource as IRecurringScheduleDataProvider;

// Create recurring appointment
IScheduleAppointment app = recurringProvider.NewScheduleAppointment();
IRecurringScheduleAppointment recurringItem = app as IRecurringScheduleAppointment;

if (recurringItem != null)
{
    recurringItem.StartTime = new DateTime(2026, 03, 24, 9, 0, 0);
    recurringItem.EndTime = new DateTime(2026, 03, 24, 10, 0, 0);
    recurringItem.Subject = "Daily Standup";

    // Recurrence rule: Every weekday
    recurringItem.RecurrenceRule = "03/24/2026;06/30/2026;Every WEEKDAY";

    // Add recurring appointments
    recurringProvider.AddNewRecurringAppointments(recurringItem, new DateTime(2026, 12, 31));
}

Changing Views Programmatically

// Switch to Day view
scheduleControl1.ScheduleType = ScheduleViewType.Day;

// Switch to Week view
scheduleControl1.ScheduleType = ScheduleViewType.Week;

// Switch to WorkWeek view (Monday-Friday)
scheduleControl1.ScheduleType = ScheduleViewType.WorkWeek;

// Switch to Month view
scheduleControl1.ScheduleType = ScheduleViewType.Month;

Customizing Appearance

// Access appearance object
ScheduleAppearance appearance = scheduleControl1.Appearance;

// Customize colors
appearance.CaptionBackColor = Color.FromArgb(0, 114, 198);
appearance.PrimeTimeCellColor = Color.LightBlue;
appearance.NonPrimeTimeCellColor = Color.White;

// Set prime time hours (9 AM to 5 PM)
appearance.PrimeTimeStart = new TimeSpan(9, 0, 0);
appearance.PrimeTimeEnd = new TimeSpan(17, 0, 0);

// Apply Metro theme
appearance.VisualStyle = Syncfusion.Windows.Forms.GridVisualStyles.Metro;

// Customize navigation calendar
appearance.NavigationCalendarBackColor = Color.White;
appearance.NavigationCalendarSelectionColor = Color.Blue;
appearance.NavigationCalendarTodayColor = Color.Red;

Enabling Touch Support

// Enable touch mode for swipe, zoom, and pan gestures
scheduleControl1.EnableTouchMode = true;

// Users can now:
// - Swipe vertically to scroll in Day/WorkWeek views
// - Swipe horizontally to navigate previous/next
// - Zoom to change view types (like Outlook)

Handling Appointment Drag Events

// Subscribe to ItemChanging event
scheduleControl1.ItemChanging += ScheduleControl1_ItemChanging;

private void ScheduleControl1_ItemChanging(object sender, ScheduleAppointmentCancelEventArgs e)
{
    if (e.Action == ItemAction.ItemDrag)
    {
        // Get drag context (Calendar or Schedule area)
        Console.WriteLine($"Dropped in: {e.ItemDragHitContext}");

        // Cancel drops to calendar area
        if (e.ItemDragHitContext == ItemDragHitContext.Calendar)
        {
            MessageBox.Show("Cannot drop appointments in calendar area");
            e.Cancel = true;
        }
    }
}

Key Classes and Interfaces

ScheduleControl

Main control providing scheduling functionality:

  • DataSource: IScheduleDataProvider - Data source for appointments
  • ScheduleType: ScheduleViewType - Current view (Month/Day/Week/WorkWeek/CustomWeek)
  • Appearance: ScheduleAppearance - Appearance customization object
  • Calendar: NavigationCalendar - Navigation calendar control
  • EnableAlerts: bool - Enable appointment reminders
  • EnableTouchMode: bool - Enable touch gestures

ScheduleAppointment (IScheduleAppointment)

Represents individual appointments:

  • StartTime, EndTime: DateTime - Appointment time range
  • Subject: string - Appointment title
  • Content: string - Detailed description
  • AllDay: bool - All-day appointment flag
  • LabelValue: int - Category/label identifier
  • MarkerValue: int - Status marker (Free, Busy, Tentative, Out of Office)
  • ReminderValue: int - Reminder time interval
  • LocationValue: int - Location identifier
  • ForeColor: Color - Text color
  • UniqueID: int - Unique identifier
  • Owner: int - Owner identifier for multi-user scenarios

ScheduleDataProvider (IScheduleDataProvider)

Base class for data management:

  • GetScheduleForDay(DateTime day): Get appointments for specific day
  • GetSchedule(DateTime start, DateTime end): Get appointments in date range
  • NewScheduleAppointment(): Create new appointment object
  • AddItem(IScheduleAppointment): Add appointment
  • RemoveItem(IScheduleAppointment): Remove appointment
  • CommitChanges(): Save modifications
  • SaveOnCloseBehaviorAction: Auto-save behavior on control disposal

Common Use Cases

  1. Outlook-Style Calendar Application

- Monthly view with navigation calendar - Appointment creation via double-click - Drag-and-drop rescheduling - Recurring meeting support

  1. Resource Scheduling System

- Day/Week views for resource allocation - Color-coded appointments by resource type - Drag-to-assign functionality - Time slot management with custom intervals

  1. Event Management Application

- Multi-day event display in Month view - All-day event support - Event categorization with labels - Custom location and reminder configuration

  1. Healthcare Appointment System

- WorkWeek view for doctor schedules - 15-minute time intervals - Patient appointment tracking - Recurring appointment patterns (weekly checkups)

  1. Time Tracking and Logging

- Minute/second precision with AllowSecondsInAppointment - Custom data provider for database integration - Time-based recurrence (every N minutes/hours) - Detailed time column customization

  1. Touch-Enabled Tablet Scheduling

- EnableTouchMode for tablet devices - Swipe navigation between dates - Zoom gestures to change views - Touch-friendly appointment editing

Related Skills

Next Steps

Start with Getting Started to install and configure the Scheduler control, 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

34.75%
按下载量换算24

Claude

33.12%
按下载量换算23

Cursor

17.54%
按下载量换算12

Gemini CLI

9.81%
按下载量换算7

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills