KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a textbox that is bound to a property on my ViewModel called DatabaseFilter here is the implementation of the property public string DatabaseFilter { get { return _databaseFilter; } set { _databaseFilter = value; FilterDatabases(); } } as you can see, i am trying to trigger a filtering based on what is typed into the textbox. The problem is, that the setter is triggered when the textbox loses focus. So typing into the textbox is not doing anything, until the user presses TAB. Is it possible to make the binding update underling viewmodel with each key press via binding? I would like to avoid having to add key down/up events, to keep the UI/codebehind as clean as possible.
Tags (comma-separated)
Save Edits
Cancel