Skip to main content

SchedulerControl.GotoDateDialogServiceTemplate Property

Gets or sets the template which provides a service to display the custom Go To Date form. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public DataTemplate GotoDateDialogServiceTemplate { get; set; }

Property Value

Type Description
DataTemplate

A DataTemplate object that defines the visual structure of the form.

Remarks

Important

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.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

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 ServiceBase class and implements the IDialogService interface. By default, this template contains the DialogService. If the GotoDateDialogServiceTemplate property contains null, or the template does not contain a ServiceBase descendant implementing the IDialogService interface, the Go To Date dialog will not be shown.

For more information about supported services, refer to the Services section.

See Also