| C1.Win.C1Schedule.4 Assembly > C1.Win.C1Schedule Namespace > C1Schedule Class : AppointmentCustomAction Event |
'Declaration Public Event AppointmentCustomAction As CancelAppointmentEventHandler
public event CancelAppointmentEventHandler AppointmentCustomAction
The event handler receives an argument of type CancelAppointmentEventArgs containing data related to this event. The following CancelAppointmentEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Appointment | Gets the Appointment object which the event was raised for. |
| Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
private void c1Schedule1_AppointmentAdded(object sender, AppointmentEventArgs e) { // create a new action Action action = new Action(); action.Command = "http://www.componentone.com"; // set appointment action e.Appointment.Action = action; }