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.v20.1.dll

Declaration

public event CustomizeMessageBoxCaptionEventHandler CustomizeMessageBoxCaption
Public Event CustomizeMessageBoxCaption As CustomizeMessageBoxCaptionEventHandler

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.

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.

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