Roberto Salemi

Roberto Salemi

  • NA
  • 146
  • 142.1k

[WPF] TextBox and String Format Hour:Minutes

Apr 1 2015 10:13 AM
Hi,

I would set the string format in a TextBox that it is binding with a Date.

For example, if I have 01/04/2015 16:11,

1) I would show only 16:11

2) When the user modifies the hour must respect the format hh:mm



Thanks.


Answers (3)