# Disable Adjacent Dates

Adjacent dates are dates which belong to the previous and next months apart from the current month. ComponentOne Calendar for WPF lets you disable adjacent dates. Read more to know how.

## Content



Calendar provides adjacent dates functionality. Adjacent dates are dates belonging to the previous and next month, other than the current month. By default, the Calendar control shows adjacent dates in the calendar.

![Calendar showing adjacent dates](https://cdn.mescius.io/document-site-files/images/aa932af9-ea21-4e7f-9114-1f57bdf10e97/images/adjacentdays-true.png)

To hide the adjacent dates in the Calendar control, you can set the [ShowAdjacentDay](/componentone/api/wpf/online-calendar/dotnet-api/C1.WPF.Calendar/C1.WPF.Calendar.C1Calendar.ShowAdjacentDay.html) property to false.

```xml
<c1:C1Calendar x:Name="calendar" ShowAdjacentDay="False" HorizontalAlignment="Left" VerticalAlignment="Top"> </c1:C1Calendar>
```

This is how the Calendar looks when the adjacent dates are disabled.

![Calendar with hidden adjacent dates](https://cdn.mescius.io/document-site-files/images/aa932af9-ea21-4e7f-9114-1f57bdf10e97/images/adjacentday-false.png)