Skip to main content
All docs
V24.2

DxSchedulerRestoreAppointmentOccurrenceButton Class

A button that restores occurrence for a recurring appointment.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public class DxSchedulerRestoreAppointmentOccurrenceButton :
    SchedulerPopupButtonBase

Remarks

Refer to Restore Occurrence for more 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>

Scheduler - Restore Occurrence

Inheritance

Object
ComponentBase
SchedulerPopupButtonBase
DxSchedulerRestoreAppointmentOccurrenceButton
See Also