Skip to main content

DXCalendar.YearCellAppearance Property

Gets or sets appearance settings applied to years. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public CalendarYearCellAppearance YearCellAppearance { get; set; }

Property Value

Type Description
CalendarYearCellAppearance

The object that stores appearance settings.

Remarks

Refer to the following topic to see the available appearance properties: CalendarYearCellAppearance members.

Example

The example below shows how to apply custom appearance settings to days, days of the week, and the calendar’s header.

DevExpress Calendar for .NET MAUI - Custom Appearance Settings

<dx:DXCalendar>
    <dx:DXCalendar.HeaderAppearance>
        <dx:CalendarHeaderAppearance HeaderTitleTextColor="#F44848"/>
    </dx:DXCalendar.HeaderAppearance>
    <dx:DXCalendar.DayCellAppearance>
        <dx:CalendarDayCellAppearance FontAttributes="Bold,Italic"
                                      TextColor="Black"/>
    </dx:DXCalendar.DayCellAppearance>
    <dx:DXCalendar.DayOfWeekCellAppearance>
        <dx:CalendarDayOfWeekCellAppearance FontAttributes="Bold,Italic"
                                            TextColor="Black"/>
    </dx:DXCalendar.DayOfWeekCellAppearance>
</dx:DXCalendar>
See Also