CustomizeMessageBoxCaptionEventArgs Class
Provides data for the SchedulerControl.CustomizeMessageBoxCaption and SchedulerControl.CustomizeMessageBoxCaption events.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll
Declaration
Remarks
The CustomizeMessageBoxCaption event occurs before a message box is displayed which prompts an end-user to save changes in the edited appointment. By handling this event, you can modify the text displayed in a message box caption. A localized string displayed in a caption can be obtained by its SchedulerStringId identifier using the CustomizeMessageBoxCaptionEventArgs.CaptionId property. By default, the identifier is SchedulerStringId.Msg_SaveBeforeClose.
An instance of the CustomizeMessageBoxCaptionEventArgs class with appropriate settings is automatically created and passed to the corresponding event’s handler.