HI,
I am using the metro styling for the XamMonthCalendar and want to know if there is a way to remove the padding between header and Mo, Tu etc and the padding after Mo, Tu Etc.
See picture attached showing what I mean.
kind regards
Anne
Hello Anne,
Thank you for your post. I have been looking into your question and you need to modify the default template for the ‘CalendarItemArea’ style of the XamMonthCalendar. You can find it in :
C:\Program Files (x86)\Infragistics\NetAdvantage 2013.1\WPF\DefaultStyles\Editors\EditorsMetro.xaml
I have managed to achieve the desired behavior by setting the ‘Margin’ of the ItemControl for the days of week to "6,-14,0,0".
You need to add the style for the ‘CalendarItemArea’ in the Resources of the XamMonthCalendar control.
Let me know, if you need any further assistance on this matter.
Hi Yanko,
This does work but changing this template causes the view designer to error with can't find editor. Is there no way of making this calendar smaller. I.e. set height and width of each calendar?