# C1.WPF.Schedule.C1Scheduler.UserEditingAppointment

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_WPF_Schedule_C1Scheduler_UserEditingAppointment" data-uid="C1.WPF.Schedule.C1Scheduler.UserEditingAppointment" class="text-break">UserEditingAppointment Event
</h1>
<div class="markdown level0 summary"><p>Occurs before the Edit Appointment dialog appears on the screen for editing
of an existing appointment, as a result of a double-click on the appointment
in one of the default control views, the <a class="xref" href="C1.WPF.Schedule.C1Scheduler.EditAppointmentDialog.html#C1_WPF_Schedule_C1Scheduler_EditAppointmentDialog_C1_Schedule_Appointment_">EditAppointmentDialog(Appointment)</a> method call,
or when an <a class="xref" href="C1.WPF.Schedule.C1Scheduler.EditAppointmentDialogCommand.html">EditAppointmentDialogCommand</a> command is received.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Schedule.html">C1.WPF.Schedule</a></h6>
<h6><strong>Assembly</strong>: C1.WPF.Schedule.4.6.2.dll</h6>
<h5 id="C1_WPF_Schedule_C1Scheduler_UserEditingAppointment_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event EventHandler&lt;AppointmentActionEventArgs&gt; UserEditingAppointment</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Event UserEditingAppointment As EventHandler(Of AppointmentActionEventArgs)</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="C1.WPF.Schedule.AppointmentActionEventArgs.html">AppointmentActionEventArgs</a>&gt;</td>
      <td>Occurs before the Edit Appointment dialog appears on the screen for editing of an existing appointment, as a result of a double-click on the appointment in one of the default control views, the  method call, or when an  command is received.</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_WPF_Schedule_C1Scheduler_UserEditingAppointment_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p>Use this event to make custom settings to an editing appointment before it
appears on the screen and/or to implement your own reaction on this event, instead
of activating a standard dialog window.</p>
<p>
In order to change appointment properties before showing the dialog on a screen,
use the appointment object referenced by the e.Appointment event argument.
</p><p>
To prevent activating a standard dialog window, set the e.Handled event argument to True.
</p>
</div>
</div>
