Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Data.Linq
  [Expand]DevExpress.Web
  [Expand]DevExpress.Web.ASPxGauges
  [Expand]DevExpress.Web.ASPxGauges.Base
  [Expand]DevExpress.Web.ASPxGauges.Scripts
  [Expand]DevExpress.Web.ASPxHtmlEditor
  [Expand]DevExpress.Web.ASPxHtmlEditor.Localization
  [Expand]DevExpress.Web.ASPxHtmlEditor.Scripts
  [Expand]DevExpress.Web.ASPxPivotGrid
  [Expand]DevExpress.Web.ASPxPivotGrid.Data
  [Expand]DevExpress.Web.ASPxPivotGrid.HtmlControls
  [Expand]DevExpress.Web.ASPxPivotGrid.Scripts
  [Expand]DevExpress.Web.ASPxRichEdit
  [Expand]DevExpress.Web.ASPxRichEdit.Localization
  [Expand]DevExpress.Web.ASPxRichEdit.Scripts
  [Expand]DevExpress.Web.ASPxScheduler
  [Expand]DevExpress.Web.ASPxScheduler.Commands.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Controls
  [Expand]DevExpress.Web.ASPxScheduler.Dialogs
  [Collapse]DevExpress.Web.ASPxScheduler.Drawing
   [Collapse]AppointmentViewInfo Class
     AppointmentViewInfo Members
     AppointmentViewInfo Constructor
    [Collapse]AppointmentViewInfo Properties
      Appointment Property
      AppointmentInterval Property
      AppointmentStyle Property
      BackColor Property
      HasBottomBorder Property
      HasLeftBorder Property
      HasRightBorder Property
      HasTopBorder Property
      Interval Property
      Options Property
      Resource Property
      ShowBell Property
      ShowEndTime Property
      ShowRecurrence Property
      ShowStartTime Property
      ShowTimeAsClock Property
      Status Property
      StatusBackgroundColor Property
      StatusColor Property
      StatusDisplayType Property
    [Expand]AppointmentViewInfo Methods
  [Expand]DevExpress.Web.ASPxScheduler.Localization
  [Expand]DevExpress.Web.ASPxScheduler.Reporting
  [Expand]DevExpress.Web.ASPxScheduler.Scripts
  [Expand]DevExpress.Web.ASPxSpellChecker
  [Expand]DevExpress.Web.ASPxSpellChecker.Localization
  [Expand]DevExpress.Web.ASPxSpellChecker.Scripts
  [Expand]DevExpress.Web.ASPxSpreadsheet
  [Expand]DevExpress.Web.ASPxSpreadsheet.Localization
  [Expand]DevExpress.Web.ASPxSpreadsheet.Scripts
  [Expand]DevExpress.Web.ASPxTreeList
  [Expand]DevExpress.Web.ASPxTreeList.Internal
  [Expand]DevExpress.Web.ASPxTreeList.Localization
  [Expand]DevExpress.Web.ASPxTreeList.Scripts
  [Expand]DevExpress.Web.Captcha
  [Expand]DevExpress.Web.Data
  [Expand]DevExpress.Web.Internal
  [Expand]DevExpress.Web.Localization
  [Expand]DevExpress.Web.Mvc
  [Expand]DevExpress.Web.Mvc.BinderSettings
  [Expand]DevExpress.Web.Mvc.Controllers
  [Expand]DevExpress.Web.MVC.Scripts
  [Expand]DevExpress.Web.Mvc.UI
  [Expand]DevExpress.Web.Office
  [Expand]DevExpress.Web.Office.Internal
  [Expand]DevExpress.Web.Rendering
  [Expand]DevExpress.Web.Scripts
  [Expand]DevExpress.XtraCharts.Web
  [Expand]DevExpress.XtraCharts.Web.Designer
  [Expand]DevExpress.XtraCharts.Web.Scripts
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

AppointmentViewInfo.Interval Property

Gets or sets the time interval of the time cells covered by the current appointment.

Namespace:DevExpress.Web.ASPxScheduler.Drawing
Assembly:DevExpress.Web.ASPxScheduler.v17.2.dll

Expanded Syntax

Property value

Type: TimeInterval
A DevExpress.XtraScheduler.TimeInterval object representing the time range of the time cells.

Expanded Remarks

If an appointment lasts several days, visually it can be divided into several parts - one for each day. In this case, each appointment part is represented by a particular AppointmentViewInfo object. The Interval property specifies the time interval of the time cells covered by the appointment on a particular day. The AppointmentInterval property specifies the time interval of the whole appointment.

The following picture shows an appointment which starts on one day and finishes on another, but does not last a whole day. This appointment is divided into two parts displayed in the Day View. The DayView.ShowWorkTimeOnly property is set to true, so the time interval from 6 PM to 9AM is hidden.

The two visual parts of the appointment are two different AppointmentViewInfo objects. The ASPxScheduler.AppointmentViewInfoCustomizing event fires two times for the same appointment - once for each visual part. The table below illustrates the difference between Interval and AppointmentInterval properties.

Object

Interval Property

AppointmentInterval Property

AppointmentViewInfo Object#1 (May 23 3:00:00 PM)-(May 23 6:00:00 PM) (May 23 3:00:00 PM)-(May 24 1:30:00 PM)
AppointmentViewInfo Object#2 (May 24 9:00:00 AM)-(May 24 1:30:00 PM) (May 23 3:00:00 PM)-(May 24 1:30:00 PM)

Expanded See Also

How would you rate this topic?​​​​​​​