alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Enum DayHeaderFormats

    Specifies the display format for day names in the calendar header.

    Namespace: Syncfusion.Blazor.Calendars
    Assembly: Syncfusion.Blazor.dll
    Syntax
    [JsonConverter(typeof(JsonStringEnumConverter))]
    public enum DayHeaderFormats
    Remarks

    The DayHeaderFormats enum controls how day names are displayed in the header row of calendar components. This affects the visual appearance and space utilization of the calendar, allowing customization based on available space and user preferences. Different formats provide varying levels of detail for day identification.

    Examples

    Setting the day header format:

    <SfCalendar TValue="DateTime" DayHeaderFormat="DayHeaderFormats.Abbreviated"></SfCalendar>

    Fields

    Name Description
    Abbreviated

    Displays day names in abbreviated format, typically showing three characters (e.g., "Sun", "Mon", "Tue").

    Narrow

    Displays day names as single characters (e.g., "S", "M", "T").

    Short

    Displays day names in short format, typically showing two characters (e.g., "Su", "Mo", "Tu").

    Wide

    Displays day names in full format, showing complete day names (e.g., "Sunday", "Monday", "Tuesday").

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved