Hi and thank you for the reply
Unfortunatly this is not a very desirable solution, since the example I gave is much simpler that what I'm trying to accomplish. I have up to 10 concurrent markings, so this would make 10 * 9 * 8 * 7 * 6 etc. combinations = ALOT templates.
Is there no way to affect the layout in code behind? In this case I don't care for view patterns, so if it would be possible to simply set the forecolor etc. of the CalendarButton in code behind when validated the date.
Something like:
if (content != null && content.ButtonType == CalendarButtonType.Date)
{
if(holidays.Contains(content.Date))
{
// Here I would like to access the layout, i.e. Forecolor
// xxx.Forecolor = Color.Blue
}
}