# C1.WPF.Schedule.C1CalendarItem.GenerateAdjacentPreviousMonthDays

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Schedule_C1CalendarItem_GenerateAdjacentPreviousMonthDays_" data-uid="C1.WPF.Schedule.C1CalendarItem.GenerateAdjacentPreviousMonthDays*">GenerateAdjacentPreviousMonthDays Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Schedule_C1CalendarItem_GenerateAdjacentPreviousMonthDays_" data-uid="C1.WPF.Schedule.C1CalendarItem.GenerateAdjacentPreviousMonthDays*"></a>
<h4 id="C1_WPF_Schedule_C1CalendarItem_GenerateAdjacentPreviousMonthDays" data-uid="C1.WPF.Schedule.C1CalendarItem.GenerateAdjacentPreviousMonthDays">GenerateAdjacentPreviousMonthDays</h4>
<div class="markdown level1 summary"><p>Gets or sets a value that determines whether the day slots corresponding
to days of a month previous to the currently represented one will show
the days or will be empty. The default value is False.
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 bool GenerateAdjacentPreviousMonthDays { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property GenerateAdjacentPreviousMonthDays As Boolean</code></pre>
</div>
<h5 id="C1_WPF_Schedule_C1CalendarItem_GenerateAdjacentPreviousMonthDays_remarks">Remarks</h5>
<div class="markdown level1 remarks"><pre><code>&lt;p&gt;
</code></pre>
<p>If <a class="xref" href="C1.WPF.Schedule.C1CalendarItem.GenerateAdjacentPreviousMonthDays.html#C1_WPF_Schedule_C1CalendarItem_GenerateAdjacentPreviousMonthDays">GenerateAdjacentPreviousMonthDays</a> is set to true,
the <a class="xref" href="C1.WPF.Schedule.DaySlot.html">DaySlot</a> objects generated in the <span class="xref">C1.WPF.Schedule.C1CalendarItem.DaySlots</span>
collection for previous month days will not be empty
(<a class="xref" href="C1.WPF.Schedule.DaySlot.Empty.html#C1_WPF_Schedule_DaySlot_Empty">Empty</a> is false and <a class="xref" href="C1.WPF.Schedule.DaySlot.Date.html#C1_WPF_Schedule_DaySlot_Date">Date</a> contains
a date from the previous month).</p>

    <p>
If <a class="xref" href="C1.WPF.Schedule.C1CalendarItem.GenerateAdjacentPreviousMonthDays.html#C1_WPF_Schedule_C1CalendarItem_GenerateAdjacentPreviousMonthDays">GenerateAdjacentPreviousMonthDays</a> is set to false, 
the <a class="xref" href="C1.WPF.Schedule.DaySlot.html">DaySlot</a> objects generated in the <span class="xref">C1.WPF.Schedule.C1CalendarItem.DaySlots</span> 
collection for previous month days will be empty 
(<a class="xref" href="C1.WPF.Schedule.DaySlot.Empty.html#C1_WPF_Schedule_DaySlot_Empty">Empty</a> is false).
</p>
</div>
</div>
