# Month View | WPF Controls | DevExpress Documentation

The **Month** view displays appointments scheduled for several weeks or months.

To show the view, set the [SchedulerControl.ActiveViewIndex](/WPF/DevExpress.Xpf.Scheduling.SchedulerControl.ActiveViewIndex) property to the corresponding view index in the [SchedulerControl.Views](/WPF/DevExpress.Xpf.Scheduling.SchedulerControl.Views) collection. This collection stores all views defined in the scheduler.

- XAML

<section id="tabpanel_znGr0SfcbA_tabid-xaml" role="tabpanel" data-tab="tabid-xaml">
<pre><code class="lang-xaml">&lt;dxsch:SchedulerControl ActiveViewIndex=&quot;0&quot;&gt;
    &lt;dxsch:MonthView
        x:Name=&quot;monthView&quot;/&gt;
    &lt;!----&gt;
&lt;/dxsch:SchedulerControl&gt;
</code></pre></section>

Note

The SchedulerControl has all views enabled out-of-the-box. If you declare any view in XAML or create views using the SchedulerControl’s [smart tag](/WPF/119608/controls-and-libraries/scheduler/design-time-features/smart-tag/manage-views), only the explicitly declared views become available. You can specify any number of views with the same type and different settings.

The Month view is the [MonthView](/WPF/DevExpress.Xpf.Scheduling.MonthView) class in the Scheduler API. It inherits the [ViewBase](/WPF/DevExpress.Xpf.Scheduling.ViewBase) class.

The Month view features two display modes. Use the [ViewMode](/WPF/DevExpress.Xpf.Scheduling.MonthView.ViewMode) property to specify the display mode.

## One Month View

One Month View displays an overview of appointments for all resources. Week height changes dynamically depending on the number of appointments.

Set the [ViewMode](/WPF/DevExpress.Xpf.Scheduling.MonthView.ViewMode) property to [Standard](/WPF/DevExpress.Xpf.Scheduling.MonthViewMode) to enable One Month View.

![](/WPF/images/onemonthview.png)

To navigate data, use the [Date Navigation Panel](/WPF/400588/controls-and-libraries/scheduler/visual-elements/date-navigation-panel) or [Date Navigator](/WPF/401550/controls-and-libraries/scheduler/visual-elements/date-navigator).

Set the [MonthView.DisplayUnit](/WPF/DevExpress.Xpf.Scheduling.MonthView.DisplayUnit) property to [Week](/WPF/DevExpress.Xpf.Scheduling.MonthViewDisplayUnit) to allow the user to select one or multiple weeks instead of a whole month in the [Date Navigator](/WPF/401550/controls-and-libraries/scheduler/visual-elements/date-navigator).

Use the [MonthView.MonthCount](/WPF/DevExpress.Xpf.Scheduling.MonthView.MonthCount) property to specify the number of displayed months when the [MonthView.DisplayUnit](/WPF/DevExpress.Xpf.Scheduling.MonthView.DisplayUnit) is set to [Month](/WPF/DevExpress.Xpf.Scheduling.MonthViewDisplayUnit).

## Unlimited Scrolling View

Unlimited Scrolling View allows you to scroll data with scrollbars in addition to the [Date Navigation Panel](/WPF/400588/controls-and-libraries/scheduler/visual-elements/date-navigation-panel) and [Date Navigator](/WPF/401550/controls-and-libraries/scheduler/visual-elements/date-navigator).

To enable Unlimited Scrolling View, set the [ViewMode](/WPF/DevExpress.Xpf.Scheduling.MonthView.ViewMode) property to [UnlimitedScrolling](/WPF/DevExpress.Xpf.Scheduling.MonthViewMode).

![WPFScheduler_MonthView](/WPF/images/wpfscheduler_monthview131028.png)

## API

The following properties affect the view’s appearance and functionality:

| View Mode | Property | Description |
| --- | --- | --- |
| Both | [MonthView.ViewMode](/WPF/DevExpress.Xpf.Scheduling.MonthView.ViewMode) | Allows you to select the display mode. |
| Both | [MonthView.WeekCount](/WPF/DevExpress.Xpf.Scheduling.MonthView.WeekCount) | Gets or sets the number of weeks that are simultaneously displayed in the [Month View](/WPF/119207/controls-and-libraries/scheduler/views/month-view). This is a dependency property. |
| Both | [SchedulerViewBase.ShowDayHeaders](/WPF/DevExpress.Xpf.Scheduling.SchedulerViewBase.ShowDayHeaders) | Gets or sets whether to display day headers. This is a dependency property. |
| Both | [SchedulerControl.GroupType](/WPF/DevExpress.Xpf.Scheduling.SchedulerControl.GroupType) | Gets or sets the type of grouping applied to the Scheduler. This is a dependency property. |
| Both | [SchedulerViewBase.ResourcesPerPage](/WPF/DevExpress.Xpf.Scheduling.SchedulerViewBase.ResourcesPerPage) | Gets or sets the maximum number of simultaneously displayed [resources](/WPF/119219/controls-and-libraries/scheduler/resources). This is a dependency property. |
| Both | [SchedulerViewBase.ShowResourceHeaders](/WPF/DevExpress.Xpf.Scheduling.SchedulerViewBase.ShowResourceHeaders) | Gets or sets whether to display [resource](/WPF/119219/controls-and-libraries/scheduler/resources) headers. This is a dependency property. |
| Both | [SchedulerViewBase.ShowResourceNavigator](/WPF/DevExpress.Xpf.Scheduling.SchedulerViewBase.ShowResourceNavigator) | Gets or sets whether to display the [resource](/WPF/119219/controls-and-libraries/scheduler/resources) navigator. This is a dependency property. |
| Both | [SchedulerViewBase.NavigationButtonsVisibility](/WPF/DevExpress.Xpf.Scheduling.SchedulerViewBase.NavigationButtonsVisibility) | Gets or sets whether to display appointment navigation buttons. This is a dependency property. |
| Both | [SchedulerViewBase.MoreButtonsVisibility](/WPF/DevExpress.Xpf.Scheduling.SchedulerViewBase.MoreButtonsVisibility) | Gets or sets the visibility state of More buttons in the current View. This is a dependency property. |
| Both | [MonthView.VerticalScrollBarVisibility](/WPF/DevExpress.Xpf.Scheduling.SchedulerViewBase.VerticalScrollBarVisibility) | Gets or sets the vertical scrollbar visibility mode. This is a dependency property. |
| Standard | [MonthView.DisplayUnit](/WPF/DevExpress.Xpf.Scheduling.MonthView.DisplayUnit) | Specifies whether to round the selection up to a whole week or a whole month. This is a dependency property. |
| Standard | [MonthView.MonthCount](/WPF/DevExpress.Xpf.Scheduling.MonthView.MonthCount) | Specifies the number of months displayed by the view. This is a dependency property. |
| Standard | [MonthView.WeekMaxHeight](/WPF/DevExpress.Xpf.Scheduling.MonthView.WeekMaxHeight) | Specifies the maximum week height. This is a dependency property. |
| Standard | [MonthView.WeekMinHeight](/WPF/DevExpress.Xpf.Scheduling.MonthView.WeekMinHeight) | Specifies the minimum week height. This is a dependency property. |
| UnlimitedScrolling | [MonthView.StretchAppointments](/WPF/DevExpress.Xpf.Scheduling.MonthView.StretchAppointments) | Gets or sets a value indicating whether appointments in the [Month View](/WPF/119207/controls-and-libraries/scheduler/views/month-view) should be stretched to fill the time cells. This is a dependency property. |
| UnlimitedScrolling | [MonthView.HorizontalScrollBarVisibility](/WPF/DevExpress.Xpf.Scheduling.SchedulerViewBase.HorizontalScrollBarVisibility) | Gets or sets the horizontal scrollbar visibility mode. This is a dependency property. |