windowsforms-devexpress-dot-xtrascheduler-dot-schedulercontrol-a92c5784.md
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.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
[Browsable(false)]
public SchedulerServices Services { get; }
<Browsable(False)>
Public ReadOnly Property Services As SchedulerServices
| Type | Description |
|---|---|
| DevExpress.XtraScheduler.Services.SchedulerServices |
A DevExpress.XtraScheduler.Services.SchedulerServices object, which provides access to implemented services and related methods.
|
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();
Imports DevExpress.XtraScheduler
Imports DevExpress.XtraScheduler.Services
'...
'Instead of the common practice of calling services, as follows:
'Private svc As IResourceNavigationService = CType(schedulerControl1.GetService( _
GetType(IResourceNavigationService)), IResourceNavigationService)
'If Not svc Is Nothing Then
'svc.NavigateForward()
'End If
'you may use one line of code, but note that the service existence is not guaranteed at runtime
schedulerControl1.Services.ResourceNavigation.NavigateForward()
See Also