Roberto Salemi

Roberto Salemi

  • 1.7k
  • 146
  • 85.7k

[WPF] TextBox and String Format Hour:Minutes

Apr 1 2015 10:13 AM

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


Answers (3)