This project is read-only.
1
Vote

MaskedTextBox ForceText method throws ArgumentNullException

description

the string cast in the ForceText method for MaskedTextBox throws an error when the given value is null.
 
provider.Set((string) value);
 
i suggest using the "as" operator

comments

alexpeta wrote Sep 24, 2012 at 1:23 PM

more precisely, i was binding to a nullable datetime (DateTime?) property

wrote Feb 14, 2013 at 8:48 PM