Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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.

Razor
<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