Occurs immediately before a custom action of an Appointment object executes.
Namespace:
C1.Silverlight.ScheduleAssembly: C1.Silverlight.Schedule (in C1.Silverlight.Schedule.dll)
Syntax
C# |
---|
public event EventHandler<AppointmentActionEventArgs> AppointmentCustomAction |
Visual Basic |
---|
Public Event AppointmentCustomAction As EventHandler(Of AppointmentActionEventArgs) |
Remarks
To cancel default handling, set CancelAppointmentEventArgs.Cancel property to true.
Examples
Copy CodeC#
private void 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; } |