Back to Devexpress

DXCalendar.HeaderStyle Property

mobilecontrols-devexpress-dot-xamarinforms-dot-editors-dot-dxcalendar-b6fa5be4.md

latest1.8 KB
Original Source

DXCalendar.HeaderStyle Property

Gets or sets appearance settings applied to the calendar’s header.

Namespace : DevExpress.XamarinForms.Editors

Assembly : DevExpress.XamarinForms.Editors.dll

NuGet Package : DevExpress.XamarinForms.Editors

Declaration

csharp
public CalendarHeaderStyle HeaderStyle { get; set; }

Property Value

TypeDescription
CalendarHeaderStyle

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