Delay KeyUp Action if User is Typing (C#)

Posted by Kirk on Stack Overflow See other posts from Stack Overflow or by Kirk
Published on 2010-06-01T01:51:18Z Indexed on 2010/06/01 1:53 UTC
Read the original article Hit count: 201

Filed under:
|
|
|

I have a function that is being called when the user is typing in a search box. I want to wait for the user to finish typing before I actually execute the function. I know how to easily accomplish this in JavaScript with timeouts, but how would I go about doing the same thing in C#? Also, how long should I wait before I assume the user is done typing? 100ms?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf