MAUI

User Guide Demos Support Forums Download
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SchedulerViewHeaderSettings

    Show / Hide Table of Contents

    Class SchedulerViewHeaderSettings

    Represents a class which is used to customize all the properties of view header in the sfscheduler.

    Inheritance
    System.Object
    SchedulerHeaderSettingsBase
    SchedulerViewHeaderSettings
    Inherited Members
    SchedulerHeaderSettingsBase.HeightProperty
    SchedulerHeaderSettingsBase.BackgroundProperty
    SchedulerHeaderSettingsBase.Height
    SchedulerHeaderSettingsBase.Background
    Namespace: Syncfusion.Maui.Scheduler
    Assembly: Syncfusion.Maui.Scheduler.dll
    Syntax
    public class SchedulerViewHeaderSettings : SchedulerHeaderSettingsBase

    Constructors

    SchedulerViewHeaderSettings()

    Declaration
    public SchedulerViewHeaderSettings()

    Fields

    DateFormatProperty

    Identifies the DateFormat dependency property.

    Declaration
    public static readonly BindableProperty DateFormatProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for DateFormat dependency property.

    DateTextStyleProperty

    Identifies the DateTextStyle dependency property.

    Declaration
    public static readonly BindableProperty DateTextStyleProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for DateTextStyle dependency property.

    DayFormatProperty

    Identifies the DayFormat dependency property.

    Declaration
    public static readonly BindableProperty DayFormatProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for DayFormat dependency property.

    DayTextStyleProperty

    Identifies the DayTextStyle dependency property.

    Declaration
    public static readonly BindableProperty DayTextStyleProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for DayTextStyle dependency property.

    Properties

    DateFormat

    Gets or sets a view header date format of the SfScheduler.

    Declaration
    public string DateFormat { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "dd".

    Remarks

    This property doesn't applicable when the scheduler view set as Month.

    Examples

    The below examples shows, how to use the DateFormat property of SchedulerViewHeaderSettings in the SfScheduler.

    this.Scheduler.DaysView.ViewHeaderSettings.DateFormat = "ddd";
    this.Scheduler.TimelineView.ViewHeaderSettings.DateFormat = "MMMM dd";
    See Also
    DateTextStyle

    DateTextStyle

    Gets or sets the style of view header date text, that used to customize the text color, font, font size, font family and font attributes.

    Declaration
    public SchedulerTextStyle DateTextStyle { get; set; }
    Property Value
    Type Description
    SchedulerTextStyle
    Remarks

    This property doesn't applicable when the scheduler view set as Month and also not applicable for today date text.

    Examples

    The below examples shows, how to use the DateTextStyle to the SfScheduler.

    var dateTextStyle = new SchedulerTextStyle()
    {
       TextColor = Colors.Red,
       FontSize = 12,
    };
    this.Scheduler.DaysView.ViewHeaderSettings.DateTextStyle = dateTextStyle;
    this.Scheduler.TimelineView.ViewHeaderSettings.DateTextStyle = dateTextStyle;
    See Also
    DateFormat
    TodayTextStyle

    DayFormat

    Gets or sets a view header day format of the SfScheduler.

    Declaration
    public string DayFormat { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "ddd".

    Examples

    The below examples shows, how to use the DayFormat property of SchedulerViewHeaderSettings in the SfScheduler.

    this.Scheduler.MonthView.ViewHeaderSettings.DayFormat = "dddd";
    this.Scheduler.DaysView.ViewHeaderSettings.DayFormat = "dddd";
    this.Scheduler.TimelineView.ViewHeaderSettings.DayFormat = "dddd";
    See Also
    TimeIntervalWidth
    DayTextStyle

    DayTextStyle

    Gets or sets the style of view header day text, that used to customize the text color, font, font size, font family and font attributes.

    Declaration
    public SchedulerTextStyle DayTextStyle { get; set; }
    Property Value
    Type Description
    SchedulerTextStyle
    Remarks

    This property doesn't applicable for today day text.

    Examples

    The below examples shows, how to use the DayTextStyle to the SfScheduler.

    var dayTextStyle = new SchedulerTextStyle()
    {
       TextColor = Colors.Red,
       FontSize = 12,
    };
    this.Scheduler.MonthView.ViewHeaderSettings.DayTextStyle = dayTextStyle;
    this.Scheduler.DaysView.ViewHeaderSettings.DayTextStyle = dayTextStyle;
    this.Scheduler.TimelineView.ViewHeaderSettings.DayTextStyle = dayTextStyle;
    See Also
    DayFormat
    TodayTextStyle
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved