This is my first question on stackoverflow, so please bear with me if I made any mistakes.
Background: I have a Winform PropertyGrid that displays status such as gain and exposure from a Camera object. User can control/edit camera properties easily through PropertyGrid. Meanwhile, camera object periodically queries latest status from a physical camera and cause a refresh in PropertyGrid through INotifyProperfyChanged.
Problem: If a refresh took place while user was entering/editing data on propertygrid (such as entering a new shutter time value), focus was suddenly lost and entered value would be replaced by new value from camera. This resulted in a unfriendly UI experience.
Question: How to prevent PropertyGrid from performing refresh when user was doing editing?
Thanks in advance.