MVVM Light is too fast :)

Posted by Hikari on Stack Overflow See other posts from Stack Overflow or by Hikari
Published on 2010-05-02T09:37:51Z Indexed on 2010/05/02 9:47 UTC
Read the original article Hit count: 254

Filed under:
|

Hello,

I have a simple WM7 Page with textbox. Futher, I assigned EventToCommand (RelayCommand) to this textbox, reacting to TextChanged event. For testing pourposes I made additional method TextBox_TextChanged in page's code behing. Both command and TextBox_TextChanged print a message box with the textbox content.

Initial value of textbox is ABC. Then I press D and: 1) TextBox_TextChanged prints ABCD. 2) Command prints ABC. D is missing.

Why commands is so fast???

© Stack Overflow or respective owner

Related posts about command

Related posts about texbox