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.2.dll
NuGet Package: DevExpress.Wpf.Scheduler
#Declaration
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. |
Caption |
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.
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.