Services
- 2 minutes to read
Note
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.
A service is exposed to clients as a public interface. A client can only access a service with an interface known in advance. This capability separates the implementation of a feature from the methods used to access this feature. A service enables you to create platform-independent code, and minimize the possibility of breaking changes in future versions.
To access a service, use the SchedulerControl.GetService<T> method.
You can also substitute a service with a custom descendant, by using the SchedulerControl.RemoveService method to remove the default service, and the SchedulerControl.AddService method to add a custom descendant. This technique enables you to modify the control’s behavior and customize its appearance.
The SchedulerControl implements the following services.
Service | Description |
---|---|
Appointment |
Provides a wrapper for using the IAppointment |
Header |
Provides a wrapper for overriding methods used for custom formatting the header captions in different Scheduler views. |
Scheduler |
Provides a wrapper for using the IScheduler |
Time |
Provides a wrapper for using the ITime |
IDate |
Provides properties and methods for time cell navigation. |
IResource |
Provides properties and methods for the resource list navigation. |