I was trying to change the formatting of the times in the time ruler to 12/24 hour format. For this I changed the TimerulerMajorTickStringFormat on the DayViewDefinition and the WeekViewDefinition to "\{0:t\}", which seems logical to me. But then the whole thing crashed. I then discovered that if I bind the value against the following property in my viewmodel, it works fine:
string TimeStringFormat = "{0:t}";
Is there anything else I have to do when putting the stringformat directly in the xaml, or is this a bug?
/Henrik
string TimeStringFormat = "{0:t}";
Is there anything else I have to do when putting the stringformat directly in the xaml, or is this a bug?
/Henrik