TextBox Enter Button Invoke
Average Rating:
(12)
(12)
Description
Discussions
(1)
-
Good job3 Posts | Last Post: September 25, 2009
-
I was about to make and publish this same behavior. Nice work. Since you already did it, I'll tell you some features that I had in mind and you could implement:
1 - Put a property to make it possible to to disable the behavior.
2 - Put a property to tell if the button should be triggered when the textbox is empty.
Written September 23, 2009 -
Hi,
Thank you very much for great feedback!! but I believe that behaviors should be simple as they can be. :)
Instead of giving property to disable behaviour, user can detach it.
The same thing is with empty textbox issue. I've thought about what you wrote and I decided that this property should also be not added. Behavior just invoke button, so when user would like to validate when textbox is empty, he should only take care about what happen when button is clicked. My behavior don't call button's method, it only invoke the button :]
PS. When you set IsEnable to false on the button, behavior won’t call button's method (there was a error in this situation but I fixed it).
I hope you agree with me and thank you for your suggestions!
Jacek Ciereszko
Written September 24, 2009 -
It makes sense. Once again, nice work.Written September 25, 2009
-
|
|

