SchedulerControl.GotoDateDialogServiceTemplate Property
Gets or sets the template which provides a service to display the custom Go To Date form.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Data |
A Data |
#Remarks
The GotoDateDialogServiceTemplate property can be used only when a new MVVM-based mechanism for form display is turned on. To activate this mechanism, set the SchedulerControl.FormCustomizationUsingMVVM or SchedulerControl.FormCustomizationUsingMVVMLocal property to true.
The template provided by the GotoDateDialogServiceTemplate property must contain an object that is a descendant of the DevExpress.Mvvm.UI.ServiceBase class and implements the DevExpress.Mvvm.IDialogService interface. By default, this template contains the DevExpress.Xpf.Core.DialogService. If the GotoDateDialogServiceTemplate property contains null, or the template does not contain a DevExpress.Mvvm.UI.ServiceBase descendant implementing the DevExpress.Mvvm.IDialogService interface, the Go To Date form will not be shown.
For more information about services, refer to DevExpress MVVM Framework. Introduction to Services, DXMessageBoxService and DialogService.