Skip to main content

SchedulerControl.Services Property

Provides access to the object which contains all implemented services and service-oriented methods. Facilitates the use of Scheduler services.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

[Browsable(false)]
public SchedulerServices Services { get; }

Property Value

Type Description
DevExpress.XtraScheduler.Services.SchedulerServices

A DevExpress.XtraScheduler.Services.SchedulerServices object, which provides access to implemented services and related methods.

Remarks

The Services property helps you find and use service-oriented properties and methods, since they are unfolded using the common Intellisense mechanism. Usage is very straightforward:

using DevExpress.XtraScheduler;
using DevExpress.XtraScheduler.Services;
//...
//Instead of the common practice of calling services, as follows:
//IResourceNavigationService svc = (IResourceNavigationService)schedulerControl1.GetService(
    typeof(IResourceNavigationService));
//if (svc != null)svc.NavigateForward();

//you may use one line of code, but note that the service existence is not guaranteed at runtime
schedulerControl1.Services.ResourceNavigation.NavigateForward();
See Also