menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class WeekViewSettings - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class WeekViewSettings

    The Week View Settings class contains properties to customize and configure the appearance of week view in schedule.

    Inheritance
    System.Object
    WeekViewSettings
    Namespace: Syncfusion.SfSchedule.XForms
    Assembly: Syncfusion.SfSchedule.XForms.dll
    Syntax
    public class WeekViewSettings : Element, IThemeElement

    Constructors

    WeekViewSettings()

    Initializes a new instance of the WeekViewSettings class.

    Declaration
    public WeekViewSettings()

    Fields

    AllDayAppointmentLayoutColorProperty

    Gets or sets the AllDayAppointmentLayoutColor for WeekView. This is a bindable property.

    Declaration
    public static readonly BindableProperty AllDayAppointmentLayoutColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    EndHourProperty

    Gets or sets the EndHour. This is a bindable property.

    Declaration
    public static readonly BindableProperty EndHourProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    NonAccessibleBlocksProperty

    Gets or sets the NonAccessibleBlocks property.

    Declaration
    public static readonly BindableProperty NonAccessibleBlocksProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    NonWorkingHoursTimeSlotBorderColorProperty

    Gets or sets the NonWorkingHoursTimeSlotBorderColor for WeekView. This is a bindable property.

    Declaration
    public static readonly BindableProperty NonWorkingHoursTimeSlotBorderColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    NonWorkingHoursTimeSlotColorProperty

    Gets or sets the NonWorkingHoursTimeSlotColor for weekview. This is a bindable property.

    Declaration
    public static readonly BindableProperty NonWorkingHoursTimeSlotColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    ShowAllDayProperty

    Gets or sets the ShowAllDay property.

    Declaration
    public static readonly BindableProperty ShowAllDayProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    StartHourProperty

    Gets or sets the StartHour. This is a bindable property.

    Declaration
    public static readonly BindableProperty StartHourProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    TimeRulerSizeProperty

    Gets or sets the TimeRulerSize. This is a bindable property.

    Declaration
    public static readonly BindableProperty TimeRulerSizeProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    TimeSlotBorderColorProperty

    Gets or sets the TimeSlotBorderColor for WeekView. This is a bindable property.

    Declaration
    public static readonly BindableProperty TimeSlotBorderColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    TimeSlotBorderStrokeWidthProperty

    Gets or sets the TimeSlotBorderStrokeWidth for WeekView. This is a bindable property.

    Declaration
    public static readonly BindableProperty TimeSlotBorderStrokeWidthProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    TimeSlotColorProperty

    Gets or sets the TimeSlotColor foe WeekView. This is a bindable property.

    Declaration
    public static readonly BindableProperty TimeSlotColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    VerticalLineColorProperty

    Gets or sets the VerticalLineColor for WeekView. This is a bindable property.

    Declaration
    public static readonly BindableProperty VerticalLineColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    VerticalLineStrokeWidthProperty

    Gets or sets the VerticalLineStrokeWidth for WeekView. This is a bindable property.

    Declaration
    public static readonly BindableProperty VerticalLineStrokeWidthProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    WeekLabelSettingsProperty

    Gets or sets the WeekLabelSettings property.

    Declaration
    public static readonly BindableProperty WeekLabelSettingsProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    WorkEndHourProperty

    Gets or sets the WorkEndHour property.

    Declaration
    public static readonly BindableProperty WorkEndHourProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    WorkStartHourProperty

    Gets or sets the WorkStartHour property.

    Declaration
    public static readonly BindableProperty WorkStartHourProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    AllDayAppointmentLayoutColor

    Gets or sets the AllDayAppointmentLayoutColor for WeekView. This is a bindable property.

    Declaration
    public Color AllDayAppointmentLayoutColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    EndHour

    Gets or sets the EndHour for WeekView.This is a bindable property.

    Declaration
    public double EndHour { get; set; }
    Property Value
    Type Description
    System.Double

    The end hour.

    NonAccessibleBlocks

    Gets or sets the NonAccessibleBlocks property to set the Non Accessible Blocks in the WeekView. This is a bindable property.

    Declaration
    public NonAccessibleBlocksCollection NonAccessibleBlocks { get; set; }
    Property Value
    Type Description
    NonAccessibleBlocksCollection

    This property takes the NonAccessibleBlocksCollection value.

    NonWorkingHoursTimeSlotBorderColor

    Gets or sets the NonWorkingHoursTimeSlotBorderColor for WeekView. This is a bindable property.

    Declaration
    public Color NonWorkingHoursTimeSlotBorderColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    NonWorkingHoursTimeSlotColor

    Gets or sets the NonWorkingHoursTimeSlotColor foe WeekView. This is a bindable property.

    Declaration
    public Color NonWorkingHoursTimeSlotColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    ShowAllDay

    Gets or sets a value indicating whether to enable/disable AllDay in the WeekView. This is a bindable property.

    Declaration
    public bool ShowAllDay { get; set; }
    Property Value
    Type Description
    System.Boolean

    This property takes the System.Boolean value.

    StartHour

    Gets or sets the StartHour for WeekView.This is a bindable property.

    Declaration
    public double StartHour { get; set; }
    Property Value
    Type Description
    System.Double

    The start hour.

    TimeRulerSize

    Gets or sets the time ruler width for WeekView .This is a bindable property.

    Declaration
    public double TimeRulerSize { get; set; }
    Property Value
    Type Description
    System.Double

    This property takes the System.Double value.

    TimeSlotBorderColor

    Gets or sets the TimeSlotBorderColor for weekView. This is a bindable property.

    Declaration
    public Color TimeSlotBorderColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    TimeSlotBorderStrokeWidth

    Gets or sets the TimeSlotBorderStrokeWidth for weekview. This is a bindable property.

    Declaration
    public int TimeSlotBorderStrokeWidth { get; set; }
    Property Value
    Type Description
    System.Int32

    This property takes the System.Int32 value.

    TimeSlotColor

    Gets or sets the TimeSlotColor for weekview. This is a bindable property.

    Declaration
    public Color TimeSlotColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    VerticalLineColor

    Gets or sets the VerticalLineColor for weekview. This is a bindable property.

    Declaration
    public Color VerticalLineColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    VerticalLineStrokeWidth

    Gets or sets the VerticalLineStrokeWidth for WeekView. This is a bindable property.

    Declaration
    public int VerticalLineStrokeWidth { get; set; }
    Property Value
    Type Description
    System.Int32

    This property takes the System.Int32 value.

    WeekLabelSettings

    Gets or sets the WeekLabelSettings property to define the Settings for WeekView Labels. This is a bindable property.

    Declaration
    public WeekLabelSettings WeekLabelSettings { get; set; }
    Property Value
    Type Description
    WeekLabelSettings

    This property takes the WeekLabelSettings value.

    WorkEndHour

    Gets or sets the WorkEndHour property to set the work end hour of Week View. This is a bindable property.

    Declaration
    public double WorkEndHour { get; set; }
    Property Value
    Type Description
    System.Double

    This property takes the System.Int32 value.

    WorkStartHour

    Gets or sets the WorkStartHour property to set the work start hour of WeekView. This is a bindable property.

    Declaration
    public double WorkStartHour { get; set; }
    Property Value
    Type Description
    System.Double

    This property takes the System.Int32 value.

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