Skip to main content

CustomizeMessageBoxCaptionEventArgs Class

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v21.2.Core.Desktop.dll

Declaration

public class CustomizeMessageBoxCaptionEventArgs :
    EventArgs

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CustomizeMessageBoxCaptionEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
EventArgs
CustomizeMessageBoxCaptionEventArgs
See Also