ComponentOne Scheduler for WPF and Silverlight
C1Scheduler Task-Based Help / C1Calendar Tasks / Showing the Previous and Next Month Days of the Month Area Displ
In This Topic
    Showing the Previous and Next Month Days of the Month Area Displ
    In This Topic

    To show the previous and next month days of the month area, enable the C1Calendar.GenerateAdjacentMonthDays property.

    Using Visual Studio

    To show the previous and next month days of the month area in C1Calendar in Visual Studio:

    1. Add a C1Calendar control to your window and select it.
    2. In the Properties window, check the checkbox next to the C1Calendar.GenerateAdjacentMonthDays property.

    Using XAML

    The following XAML sets the C1Calendar.GenerateAdjacentMonthDays property:

    XAML
    Copy Code
    <c1:C1Calendar HorizontalAlignment="Left" Margin="10,10,0,0" Name="c1Calendar1" VerticalAlignment="Top" GenerateAdjacentMonthDays="True" />
    

    This topic illustrates the following:

    The previous and next month days appear in grey text in the C1Calendar month area.