# C1.WPF.Schedule.AppointmentsCoverPane.InitializeAppointment

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Schedule_AppointmentsCoverPane_InitializeAppointment_" data-uid="C1.WPF.Schedule.AppointmentsCoverPane.InitializeAppointment*">InitializeAppointment Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Schedule_AppointmentsCoverPane_InitializeAppointment_" data-uid="C1.WPF.Schedule.AppointmentsCoverPane.InitializeAppointment*"></a>
<h4 id="C1_WPF_Schedule_AppointmentsCoverPane_InitializeAppointment_C1_Schedule_Appointment_" data-uid="C1.WPF.Schedule.AppointmentsCoverPane.InitializeAppointment(C1.Schedule.Appointment)">InitializeAppointment(Appointment)</h4>
<div class="markdown level1 summary"><p>Initializes the newly created appointment or edits existing one when it is dropped to the AppointmentsCoverPane by the end-user.
This method is called by the C1Scheduler control immediately before firing UserAddingAppointment and BeforeAppointmentDrop events.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void InitializeAppointment(Appointment appointment)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub InitializeAppointment(appointment As Appointment)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">Appointment</span></td>
      <td><span class="parametername">appointment</span></td>
      <td><p>The <span class="xref">C1.Schedule.Appointment</span> object to initialize.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_WPF_Schedule_AppointmentsCoverPane_InitializeAppointment_C1_Schedule_Appointment__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Override this method in derived class if you need additional appointment initialization.</p>
</div>
</div>
