Current filter:
                                You should refresh the page.
                                  • is there a way to restrict the views the calendar control can display to year/month? (See image attached). I have a requirement to allow the users to only select year/month. For this requirement the individual days are irrelevant and confusing to the users. thanks.

                                1 Solution

                                Creation Date Importance Sort by

                                Hi Matthew,

                                To achieve the desired result, I suggest you set the RepositoryItemDateEdit.VistaCalendarViewStyle property to YearView:

                                calendarControl1.CalendarView = DevExpress.XtraEditors.Repository.CalendarView.Vista; calendarControl1.VistaCalendarViewStyle = DevExpress.XtraEditors.VistaCalendarViewStyle.YearView;

                                Please try it and let us know your results.

                                • Alex Vaysfeld 12.06.2018

                                  Yes, that did the trick. Thanks. It would be nice if I could make the year navigation (forward/back) buttons a little bigger for the users and there is a slight delay when navigating years, but overall it gets the job done. Thanks again.

                                • Igor (DevExpress Support) 12.06.2018

                                  You are always welcome, Matthew.
                                  In order not to mix several questions within one thread, I created separate tickets:
                                  Calendar Control - Restrict Display to Year/Mont
                                  Calendar Control - How to add a slight delay when navigating years
                                  They were placed in our processing queue.