'Declaration
Public Event AppointmentCustomAction As EventHandler(Of AppointmentActionEventArgs)
public event EventHandler<AppointmentActionEventArgs> AppointmentCustomAction
Event Data
The event handler receives an argument of type AppointmentActionEventArgs containing data related to this event. The following AppointmentActionEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Appointment | Gets an Appointment object. |
Handled | (Inherited from System.Windows.RoutedEventArgs) |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
Remarks
To cancel default handling, set CancelAppointmentEventArgs.Cancel property to true.
Example
private void c1Scheduler1_AppointmentAdded(object sender, AppointmentActionEventArgs e) { // create a new action Action action = new Action(); action.Command = "https://www.grapecity.com/en/componentone"; // set appointment action e.Appointment.Action = action; }
See Also