C1.Silverlight.Schedule Namespace > C1Scheduler Class : UserAddingAppointment Event |
'Declaration
Public Event UserAddingAppointment As System.EventHandler(Of AddingAppointmentEventArgs)
public event System.EventHandler<AddingAppointmentEventArgs> UserAddingAppointment
The event handler receives an argument of type AddingAppointmentEventArgs containing data related to this event. The following AddingAppointmentEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Appointment | Gets or sets an Appointment object. |
Handled | Gets or sets a value that indicates the present state of the event handling. (Inherited from C1.Silverlight.Schedule.AppointmentActionEventArgs) |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
In order to change appointment properties before showing the dialog on a screen, use the appointment object referenced by the e.Appointment event argument.
To prevent activating a standard dialog window, set the e.Handled event argument to True.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2