Skip to main content
All docs
V22.1

DXCalendar.YearCellStyle Property

Gets or sets appearance settings applied to years.

Namespace: DevExpress.XamarinForms.Editors

Assembly: DevExpress.XamarinForms.Editors.dll

NuGet Package: DevExpress.XamarinForms.Editors

Declaration

public CalendarYearCellStyle YearCellStyle { get; set; }

Property Value

Type Description
CalendarYearCellStyle

An object that stores appearance settings.

Example

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

DevExpress Calendar for Xamarin.Forms - Custom Appearance Settings

<dxe:DXCalendar>
    <dxe:DXCalendar.HeaderStyle>
        <dxe:CalendarHeaderStyle TextColor="#F44848"/>
    </dxe:DXCalendar.HeaderStyle>
    <dxe:DXCalendar.DayCellStyle>
        <dxe:CalendarDayCellStyle FontAttributes="Bold,Italic"
                                  TextColor="Black"/>
    </dxe:DXCalendar.DayCellStyle>
    <dxe:DXCalendar.DayOfWeekCellStyle>
        <dxe:CalendarDayOfWeekCellStyle FontAttributes="Bold,Italic"
                                        TextColor="Black"/>
    </dxe:DXCalendar.DayOfWeekCellStyle>
</dxe:DXCalendar>
See Also