Hi
I have a WPF calendar control and the template for the day has a property called
cal.DayTemplate =
I have created a dictionary file contaning my control template for the day of the calendar
But I am not sure how to load it into the DayTemplate property.
I have added my dictionary to the Application.Resources in App.xaml
the x:Key to my control template is x:Key="DayTemplate"
So I though to load it this would work
cal.DayTemplate = new DataTemplate("DayTemplate");
Malcolm