Steps:
1. Add a pdf viewer to code (see the attachement for the markup)
2 Set SelectedFilePath property to a valid file name
3. Pdf viewer displayed the loading image
4. Before it completes the file load, change SelectedFilePath property to null
5. Pdf viewer keep displaying the loading image (it doesnt get cleared).
As I checked, the Pdf viewer's loading image is cleared only when the pdf file is loaded, but not when a Document=null is set (if it was displaying the image).
Can you please check whether I have a solution to the problem
1. Add a pdf viewer to code (see the attachement for the markup)
2 Set SelectedFilePath property to a valid file name
3. Pdf viewer displayed the loading image
4. Before it completes the file load, change SelectedFilePath property to null
5. Pdf viewer keep displaying the loading image (it doesnt get cleared).
As I checked, the Pdf viewer's loading image is cleared only when the pdf file is loaded, but not when a Document=null is set (if it was displaying the image).
Can you please check whether I have a solution to the problem