AppointmentFormController.GetMessageBoxCaption(SchedulerStringId) Method

Fires the SchedulerControl.CustomizeMessageBoxCaption event and obtains the message box caption.

Namespace: DevExpress.XtraScheduler.UI

Assembly: DevExpress.XtraScheduler.v20.1.dll


public string GetMessageBoxCaption(
    SchedulerStringId stringId
Public Function GetMessageBoxCaption(
    stringId As SchedulerStringId
) As String


Name Type Description
stringId SchedulerStringId

A SchedulerStringId enumeration value that specifies the localized string used as a caption.


Type Description

A string that will be used as a caption of the message box displayed to confirm saving appointment changes.


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.

See Also