[]
        
(Showing Draft Content)

C1.WPF.Schedule.C1Scheduler.AppointmentCustomAction

AppointmentCustomAction Event

Occurs immediately before a custom action of an C1.Schedule.Appointment object executes.

Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
public event EventHandler<AppointmentActionEventArgs> AppointmentCustomAction
Returns
Type Description
EventHandler<AppointmentActionEventArgs> Occurs immediately before a custom action of an object executes.
Remarks

To cancel default handling, set CancelAppointmentEventArgs.Cancel property to true.

Examples
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;
}