Back to Devexpress

DxSchedulerRestoreAppointmentOccurrenceButton Class

blazor-devexpress-dot-blazor-1b0dcc4d.md

latest2.2 KB
Original Source

DxSchedulerRestoreAppointmentOccurrenceButton Class

A button that restores occurrence for a recurring appointment.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public class DxSchedulerRestoreAppointmentOccurrenceButton :
    SchedulerPopupButtonBase

Remarks

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

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inheritance

Object ComponentBase SchedulerPopupButtonBase DxSchedulerRestoreAppointmentOccurrenceButton

See Also

DxSchedulerRestoreAppointmentOccurrenceButton Members

DevExpress.Blazor Namespace