The Syncfusion .NET MAUI Calendar (SfCalendar) allows users to select a single date, multiple dates, or ranges of dates easily. It provides month, year, decade, and century views for navigating quickly to the desired date. It supports minimum dates, maximum dates, enabling past dates, and disabling dates to restrict date selection.
Easily get started with the .NET MAUI Calendar using a few simple lines of XAML code example as demonstrated below. Also explore our .NET MAUI Calendar Example, that shows you how to render and configure the .NET MAUI Calendar.
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MAUIExample.MainPage"
xmlns:control="clr-namespace:Syncfusion.Maui.Calendar;assembly=Syncfusion.Maui.Calendar">
<control:SfCalendar SelectionMode="Range" RangeSelectionDirection="None"
SelectionShape="Rectangle" NavigationDirection="Horizontal"
AllowViewNavigation="False"
EnablePastDates="False" MinimumDate="2/27/2023" MaximumDate="3/8/2023">
<control:SfCalendar.HeaderView>
<control:CalendarHeaderView ShowNavigationArrows="False"
Background="PaleGreen">
<control:CalendarHeaderView.TextStyle>
<control:CalendarTextStyle FontSize="18"></control:CalendarTextStyle>
</control:CalendarHeaderView.TextStyle>
</control:CalendarHeaderView>
</control:SfCalendar.HeaderView>
<control:SfCalendar.MonthView>
<control:CalendarMonthView FirstDayOfWeek="Tuesday"
NumberOfVisibleWeeks="3"
ShowWeekNumber="True"
DisabledDatesBackground="#E2F9F3">
</control:CalendarMonthView>
</control:SfCalendar.MonthView>
</control:SfCalendar>
</ContentPage>
Create a calendar interface that allows users to select and navigate through month, year, decade, and century views.
Enable users to switch among daily, weekly, and monthly views in the Calendar user interface. Or disable this functionality to prevent view switching.
Select a single date, multiple dates, a range of dates, or multiple ranges of dates through interaction and programmatically.
Enhance range selection behavior with different range selection directions: default, forward, backward, both, and none.
Show the Calendar in a pop-up with the dialog mode. The relative dialog mode is used to align the calendar in a specific position that makes the app look more impressive in the UI.
Customize the calendar based on different cultures and regions. The supported identifiers are Gregorian, Hijri, Korean, Persian, Taiwanese, Thai Buddhist, and UmAlQura.
Restrict interaction and navigation beyond specified minimum and maximum dates.
Display the week number of the current date range beside the date header in day, week, and workweek views. Display the week number in the month view as the first column.
Change the starting day of the week in month view. The first day by default is Sunday.
The selectable day predicate determines the eligibility of a cell for selection within a calendar. It allows only certain days to be selected and disables interaction for the rest of the days.
Use built-in action buttons to confirm or cancel the selected date, dates, and range of dates in calendar views and quickly navigate to the today view using a today button.
Customize special days with icons such as dots, hearts, diamonds, stars, and bells in the month view and also customize the icon color.
Customize the background color and text style for special dates and weekends in the month view.
.NET MAUI Calendar allows you to customize the month, year, decade, and century cells with a data template.
Render the text and layout of the Calendar from right to left to accommodate RTL languages and cultural preferences.
Enable users from different locales to use the control by formatting dates, currency, times, and numbering to suit preferences.
Customize the color scheme of elements such as calendar view cells, the month view header, and the header of the calendar.
The Syncfusion .NET MAUI Calendar supports the following features:
You can find our .NET MAUI Calendar demo, which demonstrates how to render and configure the Calendar.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.