/syncfusion-winforms:syncfusion-winforms-datetimepickerfrom Syncfusion WinForms Controls
Implement Syncfusion Windows Forms SfDateTimeEdit - an advanced DateTime picker control for editing dates and times. Use this when working with datetime input, date range validation, or custom display patterns. Covers editing modes (text/mask), date validation, and globalization support in WinForms applications.
Ships in Syncfusion WinForms Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
Use this skill when you need to:
Key Features:
📄 Read: references/getting-started.md
Read this reference when you need to:
📄 Read: references/date-range-value.md
Read this reference when you need to:
📄 Read: references/display-patterns.md
Read this reference when you need to:
📄 Read: references/editing-modes.md
Read this reference when you need to:
📄 Read: references/appearance-styling.md
Read this reference when you need to:
📄 Read: references/validation-features.md
Read this reference when you need to:
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)
// 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);
// 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);
// 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);
// 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);
// 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);
// 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);
// 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);
| Property | Type | Description |
|---|---|---|
Value | DateTime? | Current date-time value (nullable) |
MinDateTime | DateTime | Minimum allowed date-time |
MaxDateTime | DateTime | Maximum allowed date-time |
DateTimePattern | DateTimePattern | Display format (LongDate, ShortDate, LongTime, etc.) |
Format | string | Custom date-time format string |
DateTimeEditingMode | DateTimeEditingMode | Editing mode (Default or Mask) |
AllowNull | bool | Enable null value support |
Watermark | string | Text displayed when value is null |
ShowUpDown | bool | Show up-down buttons for mask mode |
DateTimeText | string | Date-time as text string |
ValidationErrorMessage | string | Custom validation error message |
Style | SfDateTimeEditStyle | Visual style/theme |
ReadOnly | bool | Enable read-only mode |
ToolTipText | string | Tooltip text for control |
| Event | Description |
|---|---|
ValueChanged | Occurs when Value property changes |
ValidationCompleted | Occurs after validation is completed |
DateTimeTextChanged | Occurs when DateTimeText changes |
Select appointment date and time with business hours constraints.
Implement "From Date" to "To Date" filters for reports or data queries.
Capture birth dates with past date restrictions and custom format.
Time-only input for shift scheduling or time tracking.
Forms with nullable date fields showing watermark when empty.
Culture-specific date formatting with RTL support for Arabic, Hebrew, etc.
Use SfDateTimeEdit when you need:
Use DateTimePickerAdv when you need:
references/appearance-styling.md (opens in a new tab)references/date-range-value.md (opens in a new tab)references/display-patterns.md (opens in a new tab)references/editing-modes.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/validation-features.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winforms113 skills in this plugin
/syncfusion-winforms-ai-assistviewGuide for implementing Syncfusion Windows Forms AI AssistView (SfAIAssistView) for building conversational AI interfaces in desktop applications. Use this when creating chat interfaces, AI assistants, or chatbots with Windows Forms. Supports OpenAI and Azure OpenAI integration, typing indicators, chat suggestions, message bubbles, custom views, input toolbar with attachments, response toolbar actions, and stop responding for interactive messaging experiences./syncfusion-winforms-autocompleteGuides implementation of the Syncfusion WinForms AutoComplete control for text input with auto-suggestion functionality. Use when users want to add autocomplete textboxes, implement auto-suggestion features, create search boxes with suggestions, enable URL/email autocomplete, or build type-ahead search functionality in Windows desktop applications. Covers data binding, customization, filtering, multi-column dropdowns, events, and all AutoComplete-specific features./syncfusion-winforms-autolabelGuides implementation of the Syncfusion WinForms AutoLabel control for automatic label positioning with form controls. Use when users want to add labels that automatically reposition when controls move, create form layouts with paired label-control units, implement complex form designs with FlowLayout, or ensure labels stay synchronized with their associated controls. Covers labeling controls, positioning, spacing, size settings, theming, and events.Other plugins' skills for the same job