Skip to main content

SchedulerControl.AppointmentRecurrenceDialogServiceTemplate Property

Gets or sets the template which provides a service to display the custom Appointment Recurrence form.

Namespace: DevExpress.Xpf.Scheduler

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

#Declaration

public DataTemplate AppointmentRecurrenceDialogServiceTemplate { get; set; }

#Property Value

Type Description
DataTemplate

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

#Remarks

The AppointmentRecurrenceDialogServiceTemplate 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 AppointmentRecurrenceDialogServiceTemplate 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 AppointmentRecurrenceDialogServiceTemplate property contains null, or the template does not contain a DevExpress.Mvvm.UI.ServiceBase descendant implementing the DevExpress.Mvvm.IDialogService interface, the Appointment Recurrence form will not be shown.

For more information about services, refer to DevExpress MVVM Framework. Introduction to Services, DXMessageBoxService and DialogService.

See Also