Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-winforms-datetimepicker(同步融合 winform 日期时间选择器)

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

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

总安装 749周安装 30GitHub Stars 1下载 242核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

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

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态进行信息整理。通过 GitHub 仓库安装,需参考原始 README 了解功能细节。安装前建议确认权限与维护状态,防止意外执行命令或访问资源。

适用于项目协作与代码变更跟踪。

来源仓库内路径:skills/syncfusion-winforms-datetimepicker

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

syncfusion-winforms-datetimepicker 怎么安装?

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

syncfusion-winforms-datetimepicker 支持哪些 AI 工具?

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

syncfusion-winforms-datetimepicker 需要什么权限?

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

syncfusion-winforms-datetimepicker 是免费的吗?

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

syncfusion-winforms-datetimepicker 用的人多吗?

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

syncfusion-winforms-datetimepicker 安全吗?

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

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

值得选的地方

  • 同时适配 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-winforms-datetimepicker

同步融合 winform 日期时间选择器 · 本页

7491只读未明确通过

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

SKILL.md 原文

Windows Forms DateTime Editor (SfDateTimeEdit)

The Syncfusion Windows Forms SfDateTimeEdit control allows users to edit DateTime values in text or mask format with support for minimum and maximum value validation, watermark, custom patterns, and globalization.

When to Use This Skill

Use this skill when you need to:

  • Edit date and time values with formatted input and validation
  • Implement date pickers for forms, appointments, or scheduling applications
  • Restrict date ranges with minimum and maximum date constraints
  • Display dates in various formats (long date, short date, time, custom patterns)
  • Support mask mode editing with field-by-field navigation and up-down buttons
  • Handle nullable dates with watermark text display
  • Validate date input with custom error messages
  • Support multiple cultures and globalization requirements
  • Implement RTL (Right-to-Left) date editing for international applications
  • Create appointment schedulers or date-based filtering interfaces

Component Overview

Key Features:

  • Editing modes: Default (text) and Mask (formatted field navigation)
  • Date range validation: MinDateTime and MaxDateTime properties
  • Display patterns: LongDate, ShortDate, LongTime, ShortTime, FullDateTime, MonthDay, YearMonth, Custom
  • Nullable dates: AllowNull with watermark text support
  • Validation: Built-in validation with error messages
  • Globalization: Culture-based formatting and patterns
  • Navigation: Tab, arrow keys, up-down buttons for field navigation
  • Appearance: Themes, fonts, colors, borders, calendar dropdown

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

Read this reference when you need to:

  • Install SfDateTimeEdit via NuGet or designer
  • Add the control to a Windows Forms project
  • Create SfDateTimeEdit instance programmatically
  • Set basic Value property
  • Configure initial datetime picker setup
  • Understand assembly requirements

Date Range and Value

📄 Read: references/date-range-value.md

Read this reference when you need to:

  • Set and get Value property
  • Implement MinDateTime and MaxDateTime constraints
  • Enable nullable dates with AllowNull
  • Use DateTimeText property for text-based values
  • Handle value change events
  • Validate date range restrictions

Display Patterns

📄 Read: references/display-patterns.md

Read this reference when you need to:

  • Set DateTimePattern (LongDate, ShortDate, LongTime, etc.)
  • Create custom display formats with Format property
  • Display dates in different formats
  • Culture-specific date formatting
  • Month/year only displays
  • Time-only displays

Editing Modes

📄 Read: references/editing-modes.md

Read this reference when you need to:

  • Switch between Default and Mask editing modes
  • Enable field-by-field navigation
  • Configure ShowUpDown buttons
  • Implement keyboard shortcuts
  • Handle Tab and arrow key navigation
  • Increment/decrement date fields

Appearance and Styling

📄 Read: references/appearance-styling.md

Read this reference when you need to:

  • Apply themes with Style and ThemeName
  • Customize fonts, colors, and borders
  • Configure calendar dropdown appearance
  • Show/hide dropdown button
  • Set control size and layout
  • Add tooltips

Validation and Features

📄 Read: references/validation-features.md

Read this reference when you need to:

  • Configure validation modes
  • Handle ValidationCompleted event
  • Display validation error messages
  • Set watermark text for null values
  • Implement globalization and culture support
  • Enable RTL (Right-to-Left) mode
  • Set ReadOnly mode

Quick Start

Basic DateTime Picker

using Syncfusion.WinForms.Input;

// Create datetime editor
SfDateTimeEdit dateTimeEdit = new SfDateTimeEdit();
dateTimeEdit.Location = new Point(20, 20);
dateTimeEdit.Size = new Size(200, 30);
dateTimeEdit.Value = DateTime.Now;

// Add to form
this.Controls.Add(dateTimeEdit);

VB.NET:

Imports Syncfusion.WinForms.Input

' Create datetime editor
Dim dateTimeEdit As New SfDateTimeEdit()
dateTimeEdit.Location = New Point(20, 20)
dateTimeEdit.Size = New Size(200, 30)
dateTimeEdit.Value = DateTime.Now

' Add to form
Me.Controls.Add(dateTimeEdit)

Common Patterns

Pattern 1: Date Picker with Range Restriction

// Appointment date picker (next 30 days only)
SfDateTimeEdit appointmentDate = new SfDateTimeEdit();
appointmentDate.Value = DateTime.Now;
appointmentDate.MinDateTime = DateTime.Now;
appointmentDate.MaxDateTime = DateTime.Now.AddDays(30);
appointmentDate.DateTimePattern = DateTimePattern.LongDate;

this.Controls.Add(appointmentDate);

Pattern 2: Time Picker Only

// Time selection control
SfDateTimeEdit timePicker = new SfDateTimeEdit();
timePicker.Value = DateTime.Now;
timePicker.DateTimePattern = DateTimePattern.LongTime;
timePicker.DateTimeEditingMode = DateTimeEditingMode.Mask;
timePicker.ShowUpDown = true;

this.Controls.Add(timePicker);

Pattern 3: Custom Format Date Editor

// Custom format: "DD-MMM-YYYY" (e.g., "25-Dec-2024")
SfDateTimeEdit customDate = new SfDateTimeEdit();
customDate.Value = DateTime.Now;
customDate.DateTimePattern = DateTimePattern.Custom;
customDate.Format = "dd-MMM-yyyy";

this.Controls.Add(customDate);

Pattern 4: Nullable Date with Watermark

// Optional date field with watermark
SfDateTimeEdit optionalDate = new SfDateTimeEdit();
optionalDate.DateTimeEditingMode = DateTimeEditingMode.Mask;
optionalDate.AllowNull = true;
optionalDate.Value = null;
optionalDate.Watermark = "Select a date...";

this.Controls.Add(optionalDate);

Pattern 5: Mask Mode with Up-Down Buttons

// Field-by-field editing with increment/decrement
SfDateTimeEdit maskEditor = new SfDateTimeEdit();
maskEditor.Value = DateTime.Now;
maskEditor.DateTimeEditingMode = DateTimeEditingMode.Mask;
maskEditor.ShowUpDown = true;
maskEditor.DateTimePattern = DateTimePattern.ShortDate;

this.Controls.Add(maskEditor);

Pattern 6: Date Range Filter

// Date range for filtering (From/To dates)
SfDateTimeEdit fromDate = new SfDateTimeEdit();
fromDate.Value = DateTime.Now.AddDays(-30);
fromDate.DateTimePattern = DateTimePattern.ShortDate;

SfDateTimeEdit toDate = new SfDateTimeEdit();
toDate.Value = DateTime.Now;
toDate.DateTimePattern = DateTimePattern.ShortDate;
toDate.MinDateTime = fromDate.Value.Value;

// Update toDate minimum when fromDate changes
fromDate.ValueChanged += (s, e) => {
    if (fromDate.Value.HasValue)
        toDate.MinDateTime = fromDate.Value.Value;
};

this.Controls.Add(fromDate);
this.Controls.Add(toDate);

Pattern 7: Validated Date Entry

// Date entry with validation
SfDateTimeEdit validatedDate = new SfDateTimeEdit();
validatedDate.Value = DateTime.Now;
validatedDate.MinDateTime = new DateTime(2020, 1, 1);
validatedDate.MaxDateTime = new DateTime(2030, 12, 31);

validatedDate.ValidationCompleted += (s, e) => {
    if (!e.IsValid)
    {
        MessageBox.Show($"Invalid date: {e.ErrorMessage}");
    }
};

this.Controls.Add(validatedDate);

Key Properties

PropertyTypeDescription
ValueDateTime?Current date-time value (nullable)
MinDateTimeDateTimeMinimum allowed date-time
MaxDateTimeDateTimeMaximum allowed date-time
DateTimePatternDateTimePatternDisplay format (LongDate, ShortDate, LongTime, etc.)
FormatstringCustom date-time format string
DateTimeEditingModeDateTimeEditingModeEditing mode (Default or Mask)
AllowNullboolEnable null value support
WatermarkstringText displayed when value is null
ShowUpDownboolShow up-down buttons for mask mode
DateTimeTextstringDate-time as text string
ValidationErrorMessagestringCustom validation error message
StyleSfDateTimeEditStyleVisual style/theme
ReadOnlyboolEnable read-only mode
ToolTipTextstringTooltip text for control

Key Events

EventDescription
ValueChangedOccurs when Value property changes
ValidationCompletedOccurs after validation is completed
DateTimeTextChangedOccurs when DateTimeText changes

Common Use Cases

Use Case 1: Appointment Scheduling

Select appointment date and time with business hours constraints.

Use Case 2: Date Range Filtering

Implement "From Date" to "To Date" filters for reports or data queries.

Use Case 3: Birth Date Entry

Capture birth dates with past date restrictions and custom format.

Use Case 4: Time Entry

Time-only input for shift scheduling or time tracking.

Use Case 5: Optional Date Fields

Forms with nullable date fields showing watermark when empty.

Use Case 6: International Date Input

Culture-specific date formatting with RTL support for Arabic, Hebrew, etc.

Best Practices

  1. Set appropriate date ranges: Use MinDateTime and MaxDateTime to prevent invalid date selection
  2. Choose correct pattern: Use ShortDate for space-constrained UIs, LongDate for clarity
  3. Enable mask mode for precision: Use DateTimeEditingMode.Mask for field-by-field editing
  4. Show watermark for optional dates: Set AllowNull=true and provide clear watermark text
  5. Validate on ValueChanged: Implement validation logic in ValueChanged event handler
  6. Use custom formats sparingly: Stick to standard patterns for better user familiarity
  7. Consider culture settings: Test with different cultures if supporting international users
  8. Handle null values: Always check Value.HasValue before using Value.Value
  9. Provide tooltips: Use ToolTipText to guide users on date format or constraints
  10. Test keyboard navigation: Ensure Tab and arrow keys work smoothly in mask mode

Comparison with DateTimePickerAdv

Use SfDateTimeEdit when you need:

  • Modern UI with themes
  • Mask mode with field navigation
  • Watermark support
  • Better validation features
  • Culture-specific patterns

Use DateTimePickerAdv when you need:

  • Custom up-down/dropdown button appearance
  • Legacy application compatibility
  • Specific advanced customization not in SfDateTimeEdit

平台分布

Codex

36.68%
按下载量换算89

Claude

32.21%
按下载量换算78

Cursor

16.88%
按下载量换算41

Gemini CLI

8.7%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills