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

Declaration

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

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.

See Also