StrataFrame Forum

MaskedTextBox BindingUpdateMode

http://forum.strataframe.net/Topic3737.aspx

By Chris Crabtree - 10/20/2006

The default BindingUpdateMode for a SF TextBox is OnPropertyChanged.

For a MaskedTextBox, it is OnValidation.

This difference burns me every time, because to get binding working right, you have to change it to OnPropertyChanged, at least as far as I can tell.

Not sure what the implications for having the mask validated would be in doing this change...I have to assume there was some reason for the difference to begin with.

Not a biggy, but I know I'm not the first one to be confused by this.

Thanks!

By Trent L. Taylor - 10/20/2006

No, actually you are right.  This should be on OnPropertyChanged.  I will add this to the "To-Do" list...thanks for pointing it out!