[]
Occurs immediately before a custom action of an C1.Schedule.Appointment object executes.
public event CancelAppointmentEventHandler AppointmentCustomAction
Type | Description |
---|---|
CancelAppointmentEventHandler | Occurs immediately before a custom action of an object executes. |
To cancel default handling, set CancelAppointmentEventArgs.Cancel property to true.
private void c1Schedule1_AppointmentAdded(object sender, AppointmentEventArgs e)
{
// create a new action
Action action = new Action();
action.Command = "http://www.grapecity.com";
// set appointment action
e.Appointment.Action = action;
}