I haev an object with a DateTime property. I want to map the time to a textbox (thus want the user enter the time, it’s directly reverberated to my property).
However I just want to display the time. How can I say this (ie the format should be something like hh:mm to be correct).
Less specifcly how can I format the text “sent” to the object and the other way too ?
Thx
You can specify “HH:mm” as the binding’s
FormatStringIf you need more complex formatting than what a format string can provide, you can handle the
Formatevent of the binding, which enables you to provide your own formatting logic