Back to Devexpress

DXCalendar.DayCellStyle Property

mobilecontrols-devexpress-dot-xamarinforms-dot-editors-dot-dxcalendar-73fe0009.md

latest1.8 KB
Original Source

DXCalendar.DayCellStyle Property

Gets or sets appearance settings applied to days.

Namespace : DevExpress.XamarinForms.Editors

Assembly : DevExpress.XamarinForms.Editors.dll

NuGet Package : DevExpress.XamarinForms.Editors

Declaration

csharp
public CalendarDayCellStyle DayCellStyle { get; set; }

Property Value

TypeDescription
CalendarDayCellStyle

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.

xml
<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

DXCalendar Class

DXCalendar Members

DevExpress.XamarinForms.Editors Namespace