blazor-devexpress-dot-blazor-1b0dcc4d.md
A button that restores occurrence for a recurring appointment.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
public class DxSchedulerRestoreAppointmentOccurrenceButton :
SchedulerPopupButtonBase
Refer to Restore Occurrence for additional information.
The following code snippet adds the Restore Occurrence button to an appointment’s tooltip header template.
<DxScheduler StartDate="@DateTime.Today"
DataStorage="@DataStorage">
<Views>
@*...*@
</Views>
<AppointmentTooltipHeaderTemplate>
<div class="tooltip-text-header">Appointment</div>
@if(context.Appointment.Type == SchedulerAppointmentType.ChangedOccurrence) {
<DxSchedulerRestoreAppointmentOccurrenceButton Text="Restore Occurrence"/>
}
<DxSchedulerCloseAppointmentButton></DxSchedulerCloseAppointmentButton>
</AppointmentTooltipHeaderTemplate>
</DxScheduler>
Object ComponentBase SchedulerPopupButtonBase DxSchedulerRestoreAppointmentOccurrenceButton
See Also