3
Answers

[WPF] TextBox and String Format Hour:Minutes

Roberto Salemi

Roberto Salemi

9y
4.3k
1
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)