I want to see if theres a way to combine datetime string format and static strings.
So currently I can format my date and prefix with text like this:
<TextBlock Text="{Binding MyDate StringFormat=Started {0:dd-MMM-yyyy HH:mm}}"
Results in this:
Started 01-Jan-2011 12:00
In the past I've been able to use a static string to keep a common format for my dates; like this (Note no prefixed text):
<TextBlock Text="{Binding MyDate, StringFormat={x:Static i:Format.DateTime}}" />
Where i:Format is a static class with a static property DateTime that returns the string "dd-MMM-yyyy HH:mm"
So what I'm asking; is there a way to combine these methods so that I can prefix my date and use the common static string formatter?