DevExpress XtraScheduler – Show Full Date On Calendar Views

6th September 2016


One of our clients came to us with an issue they keep having when entering appointments onto their XtraScheduler calendar view. On specific views the user could not tell which year the day / month view was applicable causing them to book appointments on the correct day but for the wrong year, the screenshots below demonstrate how easy this can happen as it is not clear to define between the different years on certain views.


To overcome this issue we had to inherit from the HeaderCaptionServiceWrapper and set the GetHorizontalWeekCellHeaderCaption and GetDayColumnHeaderCaption format strings as shown below:

Then in our platform ObjectViewController we have to set the Scheduler to use our Custom Header Caption Service:

As you can see from the screenshots below the above code makes it easier for end users to distinguish the full date on certain XtraScheduler views.

This website uses cookies to provide the best possible experience. By continuing to use our website you are agreeing to our use of cookies.