# C1.WPF.Schedule.C1Calendar.MaxSelectionCount

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Schedule_C1Calendar_MaxSelectionCount_" data-uid="C1.WPF.Schedule.C1Calendar.MaxSelectionCount*">MaxSelectionCount Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Schedule_C1Calendar_MaxSelectionCount_" data-uid="C1.WPF.Schedule.C1Calendar.MaxSelectionCount*"></a>
<h4 id="C1_WPF_Schedule_C1Calendar_MaxSelectionCount" data-uid="C1.WPF.Schedule.C1Calendar.MaxSelectionCount">MaxSelectionCount</h4>
<div class="markdown level1 summary"><p>Gets or sets the maximum number of days that can be selected in the control.
This is a dependency property.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int MaxSelectionCount { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property MaxSelectionCount As Integer</code></pre>
</div>
<h5 id="C1_WPF_Schedule_C1Calendar_MaxSelectionCount_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Note, even if this property value allows to select multiple items,
the actual number of selected days might be limited by the value of the <a class="xref" href="C1.WPF.Schedule.C1Calendar.SelectionMode.html#C1_WPF_Schedule_C1Calendar_SelectionMode">SelectionMode</a> property.</p>
</div>
</div>
