C1.Xaml.Schedule Namespace > C1Scheduler Class : UserAddingAppointment Event |
'Declaration
<C1DescriptionAttribute("新規予定の追加のために「予定の編集」ダイアログが画面上に表示される前に発生します。")> <C1CategoryAttribute()> Public Event UserAddingAppointment As EventHandler(Of AddingAppointmentEventArgs)
'Usage
Dim instance As C1Scheduler Dim handler As EventHandler(Of AddingAppointmentEventArgs) AddHandler instance.UserAddingAppointment, handler
[C1Description("新規予定の追加のために「予定の編集」ダイアログが画面上に表示される前に発生します。")] [C1Category()] public event 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.Xaml.Schedule.AppointmentActionEventArgs) |
OriginalSource | (Inherited from Windows.UI.Xaml.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