Say I have a Date, or a Phone number, or some Class which I don't actually want to store as a string at runtime, but which could have a nice short string serialization for serialization as a XAML attribute:
<Person PhoneNumber="+1-123-123-1234"/>
How do I make my type serialized in that representation?