Waiting full loading of image
I'm testing add-in in Microsoft Office. I need to compare an image, which is displayed in this add-in, with the image, which is saved as expected result.
I have a problem with waiting full loading of this image. All properties of image is already have information that image is loaded, but it is not.
I tried to use WaitChild and WaitProperties:
All these properties are true, but the image is not still loaded.
Also, I tried run methods of this object like get_IsLoaded, get_IsFocused , get_IsEnabled, get_DataContext. They all have result true but the image is not still loaded.
Could you please help what else I can use except just Dalay for waiting for this image?