DxScheduler.AppointmentFormShown Event
Fires after an appointment form is shown.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public EventCallback<DxSchedulerAppointmentItem> AppointmentFormShown { get; set; }
Parameters
Type | Description |
---|---|
DxSchedulerAppointmentItem | An object that stores the appointment. |
Remarks
This event is raised after an appointment form is shown. Use the event argument’s DxSchedulerAppointmentItem property to access the target appointment.
<DxScheduler StartDate="@DateTime.Today"
DataStorage="@DataStorage"
AppointmentFormShown="OnAppointmentFormShown">
...
</DxScheduler>
@Alert
@code {
...
public string Alert { get; set; } = "";
void OnAppointmentFormShown(DxSchedulerAppointmentItem args) {
Alert = "The edit form for the following appointment has been shown: " + args.Subject ;
}
}
Note
To cancel showing an appointment form in code, use the AppointmentFormShowing event.
See Also