AppointmentFormController.GetMessageBoxCaption(SchedulerStringId) Method
Fires the SchedulerControl.CustomizeMessageBoxCaption event and obtains the message box caption.
Namespace: DevExpress.XtraScheduler.UI
Assembly: DevExpress.XtraScheduler.v24.1.dll
NuGet Package: DevExpress.Win.Scheduler
Declaration
Parameters
Name | Type | Description |
---|---|---|
stringId | SchedulerStringId | A SchedulerStringId enumeration value that specifies the localized string used as a caption. |
Returns
Type | Description |
---|---|
String | A string that will be used as a caption of the message box displayed to confirm saving appointment changes. |
Remarks
The GetMessageBoxCaption method fires the SchedulerControl.CustomizeMessageBoxCaption event, passing the SchedulerStringId enumeration value as CustomizeMessageBoxCaptionEventArgs.CaptionId. After executing the code of the event handler, the method returns the value of the CustomizeMessageBoxCaptionEventArgs.Caption property.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetMessageBoxCaption(SchedulerStringId) method.
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.