Skip to main content
All docs
V22.1
  • 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

    public CalendarHeaderStyle HeaderStyle { get; set; }

    Property Value

    Type Description
    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.

    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