/syncfusion-winui:syncfusion-winui-calendarfrom Syncfusion WinUI Controls
Implements Syncfusion WinUI Calendar (SfCalendar) control for date selection in desktop applications. Use this when building date pickers, date selection interfaces (single, multiple, or range), month/year navigation, or calendar views. This skill covers calendar configuration, date restrictions, blackout dates, week numbers, localization, and customization for Windows desktop applications.
Ships in Syncfusion WinUI 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.
Comprehensive guide for implementing the Syncfusion WinUI Calendar (SfCalendar) control for date selection in Windows desktop applications. The Calendar control supports single, multiple, and range date selection with extensive customization options, navigation between different views, date restrictions, and localization.
Use this skill when you need to:
SfCalendar is the primary date selection control for WinUI desktop applications, offering:
Control Structure:
📄 Read: references/getting-started.md
📄 Read: references/selection.md
📄 Read: references/navigation.md
📄 Read: references/date-restrictions.md
📄 Read: references/localization-formatting.md
📄 Read: references/customization.md
📄 Read: references/week-numbers.md
Here's a minimal working example to get started:
XAML:
<Window xmlns:calendar="using:Syncfusion.UI.Xaml.Calendar">
C#:
using Syncfusion.UI.Xaml.Calendar;
<Window
x:Class="CalendarApp.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:calendar="using:Syncfusion.UI.Xaml.Calendar">
<Grid>
<calendar:SfCalendar x:Name="sfCalendar" />
</Grid>
</Window>
using Syncfusion.UI.Xaml.Calendar;
namespace CalendarApp
{
public sealed partial class MainWindow : Window
{
public MainWindow()
{
this.InitializeComponent();
// Create calendar programmatically
SfCalendar sfCalendar = new SfCalendar();
this.Content = sfCalendar;
}
}
}
// Select today's date
sfCalendar.SelectedDate = DateTimeOffset.Now;
// Or select a specific date
sfCalendar.SelectedDate = new DateTimeOffset(new DateTime(2026, 3, 22));
<calendar:SfCalendar
x:Name="calendar"
SelectionMode="Single"
SelectedDate="{x:Bind ViewModel.SelectedDate, Mode=TwoWay}" />
// Access selected date
DateTimeOffset? selected = calendar.SelectedDate;
<calendar:SfCalendar
x:Name="calendar"
SelectionMode="Multiple"
SelectedDates="{x:Bind ViewModel.SelectedDates, Mode=TwoWay}" />
// Access multiple selected dates
DateTimeOffsetCollection selectedDates = calendar.SelectedDates;
<calendar:SfCalendar
x:Name="calendar"
SelectionMode="Range" />
<calendar:SfCalendar
x:Name="calendar"
MinDate="2026-01-01"
MaxDate="2026-12-31" />
// Set date restrictions in code
calendar.MinDate = new DateTimeOffset(new DateTime(2026, 1, 1));
calendar.MaxDate = new DateTimeOffset(new DateTime(2026, 12, 31));
// Create blackout dates collection
DateTimeOffsetCollection blackoutDates = new DateTimeOffsetCollection();
blackoutDates.Add(new DateTimeOffset(new DateTime(2026, 3, 25))); // Holiday
blackoutDates.Add(new DateTimeOffset(new DateTime(2026, 12, 25))); // Christmas
calendar.BlackoutDates = blackoutDates;
// Navigate to a specific date's month
calendar.SetDisplayDate(new DateTimeOffset(new DateTime(2026, 6, 15)));
<calendar:SfCalendar
x:Name="calendar"
MinDisplayMode="Month"
MaxDisplayMode="Year" />
public class CalendarViewModel : INotifyPropertyChanged
{
private DateTimeOffset? selectedDate;
public DateTimeOffset? SelectedDate
{
get => selectedDate;
set
{
selectedDate = value;
OnPropertyChanged(nameof(SelectedDate));
}
}
public event PropertyChangedEventHandler PropertyChanged;
protected void OnPropertyChanged(string propertyName)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
<calendar:SfCalendar
SelectedDate="{x:Bind ViewModel.SelectedDate, Mode=TwoWay}" />
| Property | Type | Description |
|---|---|---|
SelectedDate | DateTimeOffset? | Gets or sets the selected date (single selection mode) |
SelectedDates | DateTimeOffsetCollection | Gets or sets the collection of selected dates (multiple/range modes) |
SelectedRange | DateTimeOffsetRange | Gets the selected date range when SelectionMode is Range |
SelectionMode | CalendarSelectionMode | Date selection mode: None, Single, Multiple, Range |
SelectionHighlightMode | SelectionHighlightMode | Highlight style for selected dates: Outline, Filled |
SelectionShape | SelectionShape | Shape of selection indicator: Circle, Rectangle |
| Property | Type | Description |
|---|---|---|
MinDate | DateTimeOffset | Minimum selectable date (default: 1/1/1920) |
MaxDate | DateTimeOffset | Maximum selectable date (default: 12/31/2120) |
BlackoutDates | DateTimeOffsetCollection | Collection of non-selectable (blocked) dates |
| Property | Type | Description |
|---|---|---|
DisplayMode | CalendarDisplayMode | Current view: Month, Year, Decade, Century |
MinDisplayMode | CalendarDisplayMode | Minimum view level users can navigate to |
MaxDisplayMode | CalendarDisplayMode | Maximum view level users can navigate to |
NavigationDirection | CalendarNavigationDirection | Scroll direction within view: Vertical, Horizontal |
OutOfScopeVisibility | OutOfScopeVisibility | Show/hide dates from adjacent months: Enabled, Hidden |
HeaderInfo | object | Custom header content for the calendar |
| Property | Type | Description |
|---|---|---|
CalendarIdentifier | string | Calendar system type: GregorianCalendar, HijriCalendar, HebrewCalendar, etc. |
FirstDayOfWeek | FirstDayOfWeek | First day of week: Sunday, Monday, Tuesday, etc. |
DayFormat | string | Format pattern for day numbers (e.g., "{day.integer(2)}") |
MonthFormat | string | Format pattern for month names (e.g., "{month.full}") |
DayOfWeekFormat | string | Format pattern for day-of-week headers (e.g., "{dayofweek.abbreviated(3)}") |
MonthHeaderFormat | string | Format pattern for month/year header (e.g., "{month.full} {year.full}") |
NumberOfWeeksInView | int | Number of week rows displayed in month view (default: 6) |
| Property | Type | Description |
|---|---|---|
ShowWeekNumbers | bool | Display week numbers column (default: false) |
WeekNumberRule | CalendarWeekRule | Week calculation rule: FirstDay, FirstFourDayWeek, FirstFullWeek |
WeekNumberFormat | string | Format for week numbers (use # as placeholder, e.g., "W #") |
Create event scheduling interfaces where users select single dates for appointments, meetings, or reminders with future date restrictions and business day filtering.
Build vacation management systems with multiple date selection, blackout dates for company holidays, and range selection for consecutive vacation days.
Implement booking systems with dynamic date availability, blackout dates for unavailable slots, and real-time availability checking through ItemPrepared event.
Develop multi-language applications with localized calendars supporting different calendar types (Hijri, Hebrew, Persian), RTL languages, and culture-specific formatting.
Create data filtering interfaces where users select date ranges for reports, analytics dashboards, or transaction queries with min/max date boundaries.
Implement month/year-only selectors for credit card expiration dates by restricting navigation to Year and Decade views only.
Next Steps: Read the reference documentation above based on what you need to implement. Start with getting-started.md for initial setup, then explore specific features as needed.
references/customization.md (opens in a new tab)references/date-restrictions.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/localization-formatting.md (opens in a new tab)references/navigation.md (opens in a new tab)references/selection.md (opens in a new tab)references/week-numbers.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
39 skills in this plugin
/syncfusion-winui-ai-assistviewGuide for implementing the Syncfusion WinUI AI AssistView control for creating AI chat interfaces and conversational UI. Use this skill when implementing AI chat interfaces, AI assistants, conversational UI, or chatbots in WinUI applications. Essential for creating AI-powered chat experiences, integrating AI services, displaying AI responses, showing typing indicators, providing AI suggestions, managing conversation history with a navigation view, customizing empty states with EmptyView/EmptyViewTemplate, or setting input placeholder text in conversational interfaces with AI services in WinUI./syncfusion-winui-autocompleteGuide implementation of the Syncfusion WinUI AutoComplete control (SfAutoComplete) for creating searchable dropdowns with single or multiple selection, filtering suggestions, and customizable token display. Use this skill when implementing search-as-you-type functionality, autocomplete dropdowns with multi-select, tagging systems with token/chip display, or filtered suggestion boxes in WinUI applications./syncfusion-winui-avatar-viewGuide for implementing the Syncfusion WinUI AvatarView control to display user avatars and profile pictures. Use this when implementing user profiles, contact lists, or chat interfaces requiring visual user representation in WinUI applications. This skill covers initials display, image avatars, group avatars, and pre-defined avatar characters./syncfusion-winui-badgeGuide implementation of the Syncfusion WinUI Badge control (SfBadge) for displaying notification badges and status indicators. Use this skill when working with badge notifications, unread count badges, BadgeContainer, or notification overlays in WinUI applications. Covers shapes, colors, positioning, alignment, animations, and customization patterns./syncfusion-winui-barcodeImplement Syncfusion WinUI Barcode (SfBarcode) control to generate and display machine-readable barcodes in desktop applications. Use this when working with barcodes, QR codes, or product labeling systems. This skill covers symbology types (DataMatrix, Code39, Code128, Codabar, UPC), barcode customization, text alignment, rotation, and visual encoding for WinUI applications./syncfusion-winui-busy-indicatorGuide for implementing the Syncfusion WinUI BusyIndicator control to display loading indicators and progress status. Use this skill when implementing loading indicators, showing progress status, indicating background operations, or creating waiting screens in WinUI applications. Essential for async data loading, file operations, API calls, and any scenario requiring user notification during processing tasks.npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winui