[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
  [Collapse]DevExpress.Web.ASPxScheduler
   [Expand]ActiveViewChangingEventArgs Class
    ActiveViewChangingEventHandler Delegate
   [Expand]AgendaAppointmentCellStyle Class
   [Expand]AgendaAppointmentStyles Class
   [Expand]AgendaCellStyle Class
   [Expand]AgendaCellStyleBase Class
   [Expand]AgendaDateCellStyle Class
    AgendaDayHeaderOrientation Enumeration
   [Expand]AgendaEmptyCellStyle Class
   [Expand]AgendaHorizontalDateHeaderStyles Class
    AgendaIconCellVisibility Enumeration
    AgendaResourceLocation Enumeration
   [Expand]AgendaStylesBase Class
   [Expand]AgendaTodayHorizontalDateHeaderStyles Class
   [Expand]AgendaTodayVerticalDateHeaderStyles Class
   [Expand]AgendaVerticalDateHeaderStyles Class
   [Expand]AgendaView Class
   [Expand]AgendaViewStyles Class
   [Expand]AgendaViewTemplates Class
    AppointmentDatesHighlightMode Enumeration
   [Expand]AppointmentDialogLayoutSettings Class
   [Expand]AppointmentFormBaseEventArgs Class
   [Expand]AppointmentFormEventArgs Class
    AppointmentFormEventHandler Delegate
   [Expand]AppointmentFormTemplateContainer Class
   [Expand]AppointmentFormTemplateContainerBase Class
   [Expand]AppointmentImages Class
   [Expand]AppointmentImagesEventArgs Class
    AppointmentImagesEventHandler Delegate
   [Expand]AppointmentInplaceEditorEventArgs Class
    AppointmentInplaceEditorEventHandler Delegate
   [Expand]AppointmentInplaceEditorTemplateContainer Class
   [Expand]AppointmentLabel Class
   [Expand]AppointmentLabelCollection Class
    AppointmentSelectionAppearanceMode Enumeration
   [Expand]AppointmentStatus Class
   [Expand]AppointmentStatusCollection Class
   [Expand]AppointmentTemplateContainer Class
    AppointmentToolTipMode Enumeration
   [Expand]AppointmentViewInfoCustomizingEventArgs Class
    AppointmentViewInfoCustomizingEventHandler Delegate
   [Expand]ASPxAgendaViewAppointmentDisplayOptions Class
   [Expand]ASPxAppointmentCustomFieldMapping Class
   [Expand]ASPxAppointmentCustomFieldMappingCollection Class
   [Expand]ASPxAppointmentMappingInfo Class
   [Expand]ASPxAppointmentStorage Class
   [Expand]ASPxDateNavigator Class
   [Expand]ASPxDayViewAppointmentDisplayOptions Class
   [Expand]ASPxMonthViewAppointmentDisplayOptions Class
   [Expand]ASPxResourceCustomFieldMapping Class
   [Expand]ASPxResourceCustomFieldMappingCollection Class
   [Expand]ASPxResourceMappingInfo Class
   [Expand]ASPxResourceNavigator Class
   [Expand]ASPxResourceStorage Class
   [Collapse]ASPxScheduler Class
     ASPxScheduler Members
     ASPxScheduler Constructor
    [Expand]ASPxScheduler Properties
    [Expand]ASPxScheduler Events
    [Collapse]ASPxScheduler Methods
     [Collapse]AddService Method
       AddService(Type, ServiceCreatorCallback) Method
       AddService(Type, Object) Method
       AddService(Type, Object, Boolean) Method
       AddService(Type, ServiceCreatorCallback, Boolean) Method
      ApplyChanges Method
      ApplyStyleSheetSkin Method
      BeginInit Method
      BeginUpdate Method
      CancelUpdate Method
      CreateAppointment Method
      Dispose Method
      EndInit Method
      EndUpdate Method
      GenerateDefaultLayout Method
      GetService Method
     [Expand]GoToDate Method
      GoToToday Method
      LookupAppointmentByIdString Method
     [Expand]RemoveService Method
      RenderControl Method
      SetVisibleResources Method
    ASPxSchedulerChangeAction Enumeration
   [Expand]ASPxSchedulerCustomErrorTextEventArgs Class
    ASPxSchedulerCustomErrorTextEventHandler Delegate
   [Expand]ASPxSchedulerDataBaseUpdatedEventArgs Class
   [Expand]ASPxSchedulerDataDeletedEventArgs Class
    ASPxSchedulerDataDeletedEventHandler Delegate
   [Expand]ASPxSchedulerDataDeletingEventArgs Class
    ASPxSchedulerDataDeletingEventHandler Delegate
   [Expand]ASPxSchedulerDataInsertedEventArgs Class
    ASPxSchedulerDataInsertedEventHandler Delegate
   [Expand]ASPxSchedulerDataInsertingEventArgs Class
    ASPxSchedulerDataInsertingEventHandler Delegate
   [Expand]ASPxSchedulerDataUpdatedEventArgs Class
    ASPxSchedulerDataUpdatedEventHandler Delegate
   [Expand]ASPxSchedulerDataUpdatingEventArgs Class
    ASPxSchedulerDataUpdatingEventHandler Delegate
   [Expand]ASPxSchedulerDataWebControlBase Class
   [Expand]ASPxSchedulerDialogLayoutSettings Class
   [Expand]ASPxSchedulerFormDataHelper Class
   [Expand]ASPxSchedulerImages Class
   [Expand]ASPxSchedulerOptionsAdaptivity Class
   [Expand]ASPxSchedulerOptionsBehavior Class
   [Expand]ASPxSchedulerOptionsCellAutoHeight Class
   [Expand]ASPxSchedulerOptionsCookies Class
   [Expand]ASPxSchedulerOptionsForms Class
   [Expand]ASPxSchedulerOptionsLoadingPanel Class
   [Expand]ASPxSchedulerOptionsMenu Class
   [Expand]ASPxSchedulerOptionsToolTips Class
   [Expand]ASPxSchedulerOptionsView Class
   [Expand]ASPxSchedulerPopupForm Class
   [Expand]ASPxSchedulerPopupMenu Class
   [Expand]ASPxSchedulerPrepareFormPopupContainerEventArgs Class
    ASPxSchedulerPrepareFormPopupContainerHandler Delegate
   [Expand]ASPxSchedulerRelatedControl Class
   [Expand]ASPxSchedulerRelatedControlBase Class
   [Expand]ASPxSchedulerResourceHeaderOptions Class
   [Expand]ASPxSchedulerStorage Class
   [Expand]ASPxSchedulerStorageControl Class
   [Expand]ASPxSchedulerStyles Class
   [Expand]ASPxSchedulerTimeCellPreparedEventArgs Class
    ASPxSchedulerTimeCellPreparedEventHandler Delegate
   [Expand]ASPxTimelineViewAppointmentDisplayOptions Class
   [Expand]ASPxTimeZoneEdit Class
   [Expand]ASPxViewNavigator Class
   [Expand]ASPxViewSelector Class
   [Expand]ASPxViewSelectorOptionsAdaptivity Class
   [Expand]ASPxViewVisibleInterval Class
   [Expand]ASPxViewVisibleIntervalOptionsAdaptivity Class
   [Expand]ASPxWeekViewAppointmentDisplayOptions Class
    AutoHeightMode Enumeration
   [Expand]BottomLeftCornerStyle Class
   [Expand]CellBodyStyle Class
   [Expand]ClientSideAppointmentFieldNames Class
   [Expand]ClockImages Class
   [Expand]CustomizeElementStyleEventArgs Class
    CustomizeElementStyleEventHandler Delegate
   [Expand]DateNavigatorClientSideEvents Class
   [Expand]DateNavigatorProperties Class
   [Expand]DayView Class
   [Expand]DayViewStyles Class
   [Expand]DayViewTemplates Class
   [Expand]FABCreateAppointmentAction Class
   [Expand]FABCreateAppointmentActionGroup Class
   [Expand]FABCreateAppointmentActionItem Class
   [Expand]FABCreateRecurringAppointmentActionItem Class
   [Expand]FABDeleteAppointmentActionItem Class
   [Expand]FABEditAppointmentActionGroup Class
   [Expand]FABEditAppointmentActionItem Class
   [Expand]FullWeekView Class
   [Expand]FullWeekViewStyles Class
   [Expand]GotoDateDialogLayoutSettings Class
   [Expand]GotoDateFormEventArgs Class
    GotoDateFormEventHandler Delegate
   [Expand]GotoDateFormTemplateContainer Class
   [Expand]HeaderStyle Class
   [Expand]InitClientAppointmentEventArgs Class
    InitClientAppointmentHandler Delegate
   [Expand]MonthView Class
   [Expand]MonthViewStyles Class
   [Expand]PopupMenuShowingEventArgs Class
    PopupMenuShowingEventHandler Delegate
   [Expand]PreparePopupMenuEventArgs Class
    PreparePopupMenuEventHandler Delegate
   [Expand]RecurrenceDialogLayoutSettings Class
   [Expand]RecurrentAppointmentDeleteDialogLayoutSettings Class
   [Expand]RecurrentAppointmentEditDialogLayoutSettings Class
   [Expand]ReminderDialogLayoutSettings Class
    ResourceColorFillArea Enumeration
   [Expand]ResourceNavigator Class
    ResourceNavigatorMode Enumeration
   [Expand]ResourceNavigatorPagerProperties Class
   [Expand]ResourceNavigatorProperties Class
   [Expand]ResourceNavigatorTokensProperties Class
   [Expand]SchedulerCallbackCommandEventArgs Class
    SchedulerCallbackCommandEventHandler Delegate
   [Expand]SchedulerCallbackCommandId Class
   [Expand]SchedulerClientSideEvents Class
   [Expand]SchedulerCustomShortcutCollection Class
   [Expand]SchedulerFABActionItem Class
    SchedulerFormAction Enumeration
   [Expand]SchedulerFormEditorsImages Class
   [Expand]SchedulerFormEventArgs Class
   [Expand]SchedulerFormTemplateContainer Class
    SchedulerFormVisibility Enumeration
   [Expand]SchedulerShortcut Class
   [Expand]SchedulerShortcutCommands Class
   [Expand]SchedulerStorageClientSideEvents Class
   [Expand]SchedulerTemplates Class
   [Expand]SchedulerViewBase Class
   [Expand]SchedulerViewRepository Class
   [Expand]SelectionBarStyle Class
   [Expand]TimeIndicatorDisplayOptions Class
   [Expand]TimelineView Class
   [Expand]TimelineViewStyles Class
    ToolTipCornerType Enumeration
    ViewVisibleIntervalRenderMode Enumeration
    WebElementType Enumeration
   [Expand]WeekView Class
   [Expand]WeekViewStyles Class
   [Expand]WorkWeekView Class
   [Expand]WorkWeekViewStyles Class
  [Expand]DevExpress.Web.ASPxScheduler.Commands
  [Expand]DevExpress.Web.ASPxScheduler.Commands.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Controls
  [Expand]DevExpress.Web.ASPxScheduler.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Drawing
  [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]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

ASPxScheduler.AddService(Type, ServiceCreatorCallback) Method

Adds the specified service to the service container.

Namespace:DevExpress.Web.ASPxScheduler
Assembly:DevExpress.Web.ASPxScheduler.v18.2.dll

Expanded Syntax

Parameters

serviceType
Type: Type
The type of service to add.
callback
Type: ServiceCreatorCallback
A callback object that is used to create the service. This allows a service to be declared as available, but delays the creation of the object until the service is requested.

Expanded Remarks

The SchedulerControl implements System.IServiceProvider and System.ComponentModel.Design.IServiceContainer interfaces. In addition to providing services, it also provides a mechanism for adding and removing services. To obtain a service, call the GetService method.

Expanded See Also

Is this topic helpful?​​​​​​​