Skip to main content

SchedulerControl.CustomizeMessageBoxCaption Event

Allows changing the caption of the message box displayed on closing the appointment form which contains unsaved changes.

Namespace: DevExpress.Xpf.Scheduler

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

NuGet Package: DevExpress.Wpf.Scheduler


public event CustomizeMessageBoxCaptionEventHandler CustomizeMessageBoxCaption

Event Data

The CustomizeMessageBoxCaption event's data class is CustomizeMessageBoxCaptionEventArgs. The following properties provide information specific to this event:

Property Description
Caption Gets or sets a string for display in the caption of a message box that prompts the end-user to save appointment changes.
CaptionId Obtains the identifier of a localized string that will be displayed as the message box caption.



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.

By default, the message box displayed to confirm saving changes has a caption with the SchedulerStringId.Msg_SaveBeforeClose string. By handling the CustomizeMessageBoxCaption event, you can change this caption to any other localization string or to a specified text.

See Also