Occurs immediately before a custom action of an Appointment object executes.
Namespace:
C1.WPF.C1ScheduleAssembly: C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)
Syntax
| C# |
|---|
public event EventHandler<AppointmentActionEventArgs> AppointmentCustomAction |
| Visual Basic (Declaration) |
|---|
Public Event AppointmentCustomAction As EventHandler(Of AppointmentActionEventArgs) |
Remarks
To cancel default handling, set CancelAppointmentEventArgs.Cancel property to true.
Examples
privatevoid c1Scheduler1_AppointmentAdded(object sender, AppointmentActionEventArgs e) { // create a new action Action action = new Action(); action.Command = "http://www.componentone.com"; // set appointment action e.Appointment.Action = action; } |