AppointmentFormController.GetMessageBoxCaption(SchedulerStringId) Method
Fires the SchedulerControl.CustomizeMessageBoxCaption event and obtains the message box caption.
Namespace: DevExpress.XtraScheduler.UI
Assembly: DevExpress.XtraScheduler.v26.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.