'宣言 Public Event AppointmentCustomAction As System.EventHandler(Of AppointmentActionEventArgs)
public event System.EventHandler<AppointmentActionEventArgs> AppointmentCustomAction
イベント データ
イベント ハンドラが、このイベントに関連するデータを含む、AppointmentActionEventArgs 型の引数を受け取りました。次の AppointmentActionEventArgs プロパティには、このイベントの固有の情報が記載されます。
| プロパティ | 解説 |
|---|---|
| Appointment | Gets an Appointment object. |
| Handled | System.Windows.RoutedEventArgsから継承されます。 |
| OriginalSource | System.Windows.RoutedEventArgsから継承されます。 |
| RoutedEvent | System.Windows.RoutedEventArgsから継承されます。 |
| Source | System.Windows.RoutedEventArgsから継承されます。 |
解説
To cancel default handling, set CancelAppointmentEventArgs.Cancel property to true.
使用例
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; }
参照