skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class SchedulerDayViewBase

Inheritance
System.Object
SchedulerView
SchedulerDayViewBase
SchedulerDayView
SchedulerMultiDayView
SchedulerWeekView
Inherited Members
SchedulerView.nullableStartDate
SchedulerView.IsAllDayEvent(IEvent)
SchedulerView.CreateView(SchedulerViewType)
SchedulerView.UpdateAppointments(ObservableCollection<IEvent>)
SchedulerView.AddAppointment(IEvent)
SchedulerView.RemoveAppointment(IEvent)
SchedulerView.AppointmentChanged(IEvent, String)
SchedulerView.IsViewInAccessibleInterval(DateTime)
SchedulerView.SetStartDate(DateTime)
SchedulerView.IsDateInView(DateTime)
SchedulerView.IsAppointmentInView(IEvent)
SchedulerView.IsResourceIntersectsWithViewResources(IEvent)
SchedulerView.AddResources(SchedulerResourceCollection)
SchedulerView.GetResources()
SchedulerView.GetResource()
SchedulerView.GetResourceId()
SchedulerView.OffsetView(Int32)
SchedulerView.GetViewContainingDate(DateTime, Int32)
SchedulerView.GetPreviousView()
SchedulerView.GetNextView()
SchedulerView.GetPreviousViewWithAppointments(IEnumerable<IEvent>)
SchedulerView.CalculatePreviousView(IEnumerable<IEvent>, DateTime)
SchedulerView.GetNextViewWithAppointments(IEnumerable<IEvent>)
SchedulerView.CalculateNextDate(IEnumerable<IEvent>, DateTime)
SchedulerView.GetFirstAppointment()
SchedulerView.GetLastAppointment()
SchedulerView.SetDefaultTimeZone(SchedulerTimeZone)
SchedulerView.OnPropertyChanged(String[])
SchedulerView.OffsetTimeSpan
SchedulerView.StartDate
SchedulerView.CurrentDate
SchedulerView.Name
SchedulerView.Visible
SchedulerView.ReadOnly
SchedulerView.CurrentCulture
SchedulerView.ViewType
SchedulerView.GroupSeparatorWidth
SchedulerView.AllowResourcesScrolling
SchedulerView.ResourcesPerView
SchedulerView.Scheduler
SchedulerView.Appointments
SchedulerView.AppointmentTitleFormat
SchedulerView.EndDate
SchedulerView.ShowHeader
SchedulerView.AllowToolTips
SchedulerView.AllowAppointmentResize
SchedulerView.AllowAppointmentMove
SchedulerView.CellToolTipFormat
SchedulerView.PropertyChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll

Syntax

public abstract class SchedulerDayViewBase : SchedulerView, INotifyPropertyChanged, IDisposable

Constructors

SchedulerDayViewBase()

Initializes a new instance of the SchedulerDayViewBase class.

Declaration
public SchedulerDayViewBase()

Properties

AutoScrollToWorkTime

Gets or sets a value indicating whether to automatically scroll to the work time.

Declaration
public bool AutoScrollToWorkTime { get; set; }
Property Value
System.Boolean

CanSetDayCount

Gets a value indicating whether this instance can set day count.

Declaration
public virtual bool CanSetDayCount { get; }
Property Value
System.Boolean

true if this instance can set day count; otherwise, false.

CurrentTime

Gets or sets a value indicating to what the view is scrolled.

Declaration
protected TimeSpan CurrentTime { get; set; }
Property Value
System.TimeSpan

DayCount

Gets or sets the day count.

Declaration
public abstract int DayCount { get; set; }
Property Value
System.Int32

The day count.

DefaultTimeZone

Declaration
public override SchedulerTimeZone DefaultTimeZone { get; set; }
Property Value
SchedulerTimeZone

Overrides
SchedulerView.DefaultTimeZone

RangeFactor

Gets or sets the range factor.

Declaration
public ScaleRange RangeFactor { get; set; }
Property Value
ScaleRange

The range factor.

RulerEndScale

Gets or sets the last hour which the ruler in day view should display. To set minutes use the RulerEndScaleMinutes property.

Declaration
public int RulerEndScale { get; set; }
Property Value
System.Int32

RulerEndScaleMinutes

Gets or sets the minutes in addition to the RulerEndScale. Together these properties allow changing the default end of the ruler scale on the left side of day view. The value of this property will snap to the nearest multiple of the RangeFactor.

Declaration
public int RulerEndScaleMinutes { get; set; }
Property Value
System.Int32

RulerFormatStrings

Gets or sets the ruler time format.

Declaration
public virtual RulerFormatStrings RulerFormatStrings { get; set; }
Property Value
RulerFormatStrings

The ruler time format.

RulerScaleSize

Gets or sets the size of the ruler scale.

Declaration
public virtual int RulerScaleSize { get; set; }
Property Value
System.Int32

The size of the ruler scale.

RulerStartScale

Gets or sets the first hour which the ruler in day view should display. To set minutes use the RulerStartScaleMinutes property.

Declaration
public int RulerStartScale { get; set; }
Property Value
System.Int32

RulerStartScaleMinutes

Gets or sets the minutes in addition to the RulerStartScale. Together these properties allow changing the default start of the ruler scale on the left side of day view. The value of this property will snap to the nearest multiple of the RangeFactor.

Declaration
public int RulerStartScaleMinutes { get; set; }
Property Value
System.Int32

RulerWidth

Gets or sets the width of the ruler.

Declaration
public int RulerWidth { get; set; }
Property Value
System.Int32

The width of the ruler.

ShowAllDayArea

Gets or sets a value indicating whether the all day area is shown.

Declaration
public virtual bool ShowAllDayArea { get; set; }
Property Value
System.Boolean

true if the all day area is shown; otherwise, false.

ShowRuler

Gets or sets a value indicating whether the ruler is shown.

Declaration
public virtual bool ShowRuler { get; set; }
Property Value
System.Boolean

true if the ruler is shown; otherwise, false.

TimeZones

Gets the time zones collection.

Declaration
public SchedulerTimeZoneCollection TimeZones { get; }
Property Value
SchedulerTimeZoneCollection

The time zones collection.

WorkTime

Gets or sets the work time.

Declaration
public virtual TimeInterval WorkTime { get; set; }
Property Value
TimeInterval

The work time.

WorkTimeExceptions

A collection of WorkTimeExceptionRule rules which define exceptions to the general work time provided by the WorkTime property. The rules in this collection are checked in an increasing order of their indices and therefore if a date matches a number of rules, the one with the greatest index overrides the others.

Declaration
public ItemObservableCollection<WorkTimeExceptionRule> WorkTimeExceptions { get; }
Property Value
ItemObservableCollection<WorkTimeExceptionRule>

WorkWeekEnd

Gets or sets the last day of the working week.

Declaration
public DayOfWeek WorkWeekEnd { get; set; }
Property Value
System.DayOfWeek

WorkWeekStart

Gets or sets the first day of the working week.

Declaration
public DayOfWeek WorkWeekStart { get; set; }
Property Value
System.DayOfWeek

Methods

CopyPropertiesToView(SchedulerView)

Copies the properties to view.

Declaration
protected override void CopyPropertiesToView(SchedulerView other)
Parameters
SchedulerView other

The other.

Overrides
SchedulerView.CopyPropertiesToView(SchedulerView)

CreateViewWithStartDate(DateTime)

Creates the view with start date.

Declaration
protected override SchedulerView CreateViewWithStartDate(DateTime startDate)
Parameters
System.DateTime startDate

The start date.

Returns
SchedulerView

Overrides
SchedulerView.CreateViewWithStartDate(DateTime)

Dispose()

Declaration
public void Dispose()
Implements
System.IDisposable.Dispose()

GetColumnForDate(DateTime)

Gets the column index corresponding to a given date.

Declaration
public virtual int GetColumnForDate(DateTime dateTime)
Parameters
System.DateTime dateTime

The date.

Returns
System.Int32

The corresponding index.

GetDateForCell(Int32, Int32)

Gets the date that corresponds to a cell.

Declaration
public virtual DateTime GetDateForCell(int row, int column)
Parameters
System.Int32 row

The row index of the cell.

System.Int32 column

The column index of the cell.

Returns
System.DateTime

The corresponding date.

GetDateForCell(Int32, Int32, RadScheduler)

Gets the date that corresponds to a cell.

Declaration
public virtual DateTime GetDateForCell(int row, int column, RadScheduler scheduler)
Parameters
System.Int32 row

The row index of the cell.

System.Int32 column

The column index of the cell.

RadScheduler scheduler

The scheduler

Returns
System.DateTime

The corresponding date.

GetDateForColumn(Int32)

Gets the date that corresponds to a column.

Declaration
public virtual DateTime GetDateForColumn(int column)
Parameters
System.Int32 column

The column index.

Returns
System.DateTime

The corresponding date.

GetDateForColumn(Int32, RadScheduler)

Gets the date that corresponds to a column.

Declaration
public virtual DateTime GetDateForColumn(int column, RadScheduler scheduler)
Parameters
System.Int32 column

The column index.

RadScheduler scheduler

The scheduler

Returns
System.DateTime

The corresponding date.

GetEndDate(DateTime)

Gets the end date for that SchedulerView given a start date.

Declaration
protected override DateTime GetEndDate(DateTime startDate)
Parameters
System.DateTime startDate

The start date.

Returns
System.DateTime

Overrides
SchedulerView.GetEndDate(DateTime)

GetNextView(Int32)

Gets the next view.

Declaration
public override SchedulerView GetNextView(int offset)
Parameters
System.Int32 offset

The offset.

Returns
SchedulerView

Overrides
SchedulerView.GetNextView(Int32)

GetNextView(NavigationStepTypes, Int32)

Gets the next view.

Declaration
public override SchedulerView GetNextView(NavigationStepTypes navigationStepType, int navigationStep)
Parameters
NavigationStepTypes navigationStepType

The navigation step type.

System.Int32 navigationStep

The navigation step.

Returns
SchedulerView

Overrides
SchedulerView.GetNextView(NavigationStepTypes, Int32)

GetNumberOfCellsPerHour()

Gets the number of cells per hour.

Declaration
public int GetNumberOfCellsPerHour()
Returns
System.Int32

GetPreviousView(Int32)

Gets the previous view.

Declaration
public override SchedulerView GetPreviousView(int offset)
Parameters
System.Int32 offset

The offset.

Returns
SchedulerView

Overrides
SchedulerView.GetPreviousView(Int32)

GetPreviousView(NavigationStepTypes, Int32)

Gets the previous view.

Declaration
public override SchedulerView GetPreviousView(NavigationStepTypes navigationStepType, int navigationStep)
Parameters
NavigationStepTypes navigationStepType

The navigation step type.

System.Int32 navigationStep

The navigation step.

Returns
SchedulerView

Overrides
SchedulerView.GetPreviousView(NavigationStepTypes, Int32)

GetRowsCount()

Gets the calculated number of rows according to the RulerStartScale, RulerStartScaleMinutes, RulerEndScale and RulerEndScaleMinutes properties.

Declaration
public int GetRowsCount()
Returns
System.Int32

The number of rows that need to be displayed.

GetViewContainingDate(DateTime)

Creates a Scheduler View object based on the logic implemented by the Scheduler View instance that implements the method.

Declaration
public override SchedulerView GetViewContainingDate(DateTime date)
Parameters
System.DateTime date

DateTime object that is used to create the Scheduler View.

Returns
SchedulerView

The created Scheduler View object.

Overrides
SchedulerView.GetViewContainingDate(DateTime)

IsWorkingDay(DayOfWeek)

Checks if a given week day is a working day.

Declaration
public bool IsWorkingDay(DayOfWeek dayOfWeek)
Parameters
System.DayOfWeek dayOfWeek

The week day.

Returns
System.Boolean

[true] if the week day is a working day, [false] otherwise.

IsWorkTime(DateTime)

Checks if a given date is work time by checking the WorkWeekStart, WorkWeekEnd, WorkTime properties and then by checking the exceptions defined in the WorkTimeExceptions collections.

Declaration
public virtual bool IsWorkTime(DateTime cellDate)
Parameters
System.DateTime cellDate

The date.

Returns
System.Boolean

[true] if the date is work time, [false] otherwise.

UpdateOnPropertyChange(String)

Called when a property is changed.

Declaration
protected override void UpdateOnPropertyChange(string propertyName)
Parameters
System.String propertyName

Name of the property.

Overrides
SchedulerView.UpdateOnPropertyChange(String)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.