Should the .TextInput event on TextBox react to manually setting the Text of the control?
The second LINQPad Controls sample, "Simple controls and events".
Behavior I see: Whenever I type in the textbox, the content is dumped. However, when I click the button the text is changed, yet the content is not dumped.
Is this by design? I was expecting this to be handled like I just typed in the control. In fact, if I paste something into the textbox, this is handled and dumped.
Behavior I see: Whenever I type in the textbox, the content is dumped. However, when I click the button the text is changed, yet the content is not dumped.
Is this by design? I was expecting this to be handled like I just typed in the control. In fact, if I paste something into the textbox, this is handled and dumped.
Comments
Do you think a TextChanged event (which would respond to both) would be more useful?