[]
Occurs immediately before a custom action of an Appointment object executes.
public event EventHandler<AppointmentActionEventArgs> AppointmentCustomAction
Type | Description |
---|---|
EventHandler<AppointmentActionEventArgs> | Occurs immediately before a custom action of an object executes. |
To cancel default handling, set CancelAppointmentEventArgs.Cancel property to true.
private void c1Scheduler1_AppointmentAdded(object sender, AppointmentActionEventArgs e)
{
// create a new action
Action action = new Action();
action.Command = "https://developer.mescius.com/componentone";
// set appointment action
e.Appointment.Action = action;
}