MaskedTextBox BindingUpdateMode


Author
Message
Chris Crabtree
Chris Crabtree
StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)
Group: Forum Members
Posts: 57, Visits: 107
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!

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
No, actually you are right.  This should be on OnPropertyChanged.  I will add this to the "To-Do" list...thanks for pointing it out!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search