Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXCalendar.MonthCellTemplate Property

Gets or sets a data template used to render months. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

#Declaration

C#
public DataTemplate MonthCellTemplate { get; set; }

#Property Value

Type Description
DataTemplate

The template.

#Remarks

Click the month in the calendar header to switch the calendar to Month view.

The CalendarCellData class specifies the binding context for the MonthCellTemplate. You can use CalendarCellData properties to implement the template.

DevExpress Calendar for .NET MAUI

<dxe:DXCalendar.MonthCellTemplate>
    <DataTemplate>
        <Label Text="{Binding Date, StringFormat='{0:MMM}'}" TextColor="Green"
                   FontSize="16" FontAttributes="Bold"/>
    </DataTemplate>
</dxe:DXCalendar.MonthCellTemplate>
See Also