blazor-devexpress-dot-blazor-dot-dxscheduler-05b11675.md
Fires after an appointment form is shown.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[Parameter]
public EventCallback<DxSchedulerAppointmentItem> AppointmentFormShown { get; set; }
| Type | Description |
|---|---|
| DxSchedulerAppointmentItem |
An object that stores the appointment.
|
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