# C1.WPF.Schedule.C1Scheduler.SelectFromListDialog

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Schedule_C1Scheduler_SelectFromListDialog_" data-uid="C1.WPF.Schedule.C1Scheduler.SelectFromListDialog*">SelectFromListDialog Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Schedule_C1Scheduler_SelectFromListDialog_" data-uid="C1.WPF.Schedule.C1Scheduler.SelectFromListDialog*"></a>
<h4 id="C1_WPF_Schedule_C1Scheduler_SelectFromListDialog_System_Collections_IList_System_Collections_IList_System_Type_C1_Schedule_Appointment_System_String_" data-uid="C1.WPF.Schedule.C1Scheduler.SelectFromListDialog(System.Collections.IList,System.Collections.IList,System.Type,C1.Schedule.Appointment,System.String)">SelectFromListDialog(IList, IList, Type, Appointment, string)</h4>
<div class="markdown level1 summary"><p>Shows the Select From List dialog. Honors property values defined in the <a class="xref" href="C1.WPF.Schedule.C1Scheduler.Settings.html#C1_WPF_Schedule_C1Scheduler_Settings">Settings</a> object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SelectFromListDialog(IList sourceList, IList targetList, Type itemType, Appointment app, string windowTitle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SelectFromListDialog(sourceList As IList, targetList As IList, itemType As Type, app As Appointment, windowTitle As String)</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></td>
      <td><span class="parametername">sourceList</span></td>
      <td><p>The source list.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></td>
      <td><span class="parametername">targetList</span></td>
      <td><p>The target list.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">itemType</span></td>
      <td><p>The type of items in both lists.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">Appointment</span></td>
      <td><span class="parametername">app</span></td>
      <td><p>The appointment object, for which the dialog is shown.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">windowTitle</span></td>
      <td><p>The dialog title.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Schedule_C1Scheduler_SelectFromListDialog_" data-uid="C1.WPF.Schedule.C1Scheduler.SelectFromListDialog*"></a>
<h4 id="C1_WPF_Schedule_C1Scheduler_SelectFromListDialog_System_Collections_IList_System_Collections_IList_System_Type_C1_Schedule_Appointment_System_String_System_Boolean_System_Boolean_" data-uid="C1.WPF.Schedule.C1Scheduler.SelectFromListDialog(System.Collections.IList,System.Collections.IList,System.Type,C1.Schedule.Appointment,System.String,System.Boolean,System.Boolean)">SelectFromListDialog(IList, IList, Type, Appointment, string, bool, bool)</h4>
<div class="markdown level1 summary"><p>Shows the Select From List dialog.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SelectFromListDialog(IList sourceList, IList targetList, Type itemType, Appointment app, string windowTitle, bool allowEdit, bool allowMultipleSelection)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SelectFromListDialog(sourceList As IList, targetList As IList, itemType As Type, app As Appointment, windowTitle As String, allowEdit As Boolean, allowMultipleSelection As Boolean)</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></td>
      <td><span class="parametername">sourceList</span></td>
      <td><p>The source list.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></td>
      <td><span class="parametername">targetList</span></td>
      <td><p>The target list.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">itemType</span></td>
      <td><p>The type of items in both lists.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">Appointment</span></td>
      <td><span class="parametername">app</span></td>
      <td><p>The appointment object, for which the dialog is shown.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">windowTitle</span></td>
      <td><p>The dialog title.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">allowEdit</span></td>
      <td><p>Determines whether the dialog should allow source collection editing.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">allowMultipleSelection</span></td>
      <td><p>Determines whether multiple selection is allowed.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
