Use KeyBinding to bind Key event to TextBox.InputBindings