I am setting a watermark using the Diagram Background property. This property is an brush so I’ve added an imagebrush that uses a watermark to the image that has an opacity value.
I have noticed some odd behaviour, first when scrolling the diagram for the first time the image appears darker at first. Also when scrolling a trailing duplicate of the image appears slightly behind it. When the background brush is set to null during runtime to hide the background the image goes lighter but does not disappear completely until the diagram is scrolled. Finally when changing the scale on the diagram 2 versions of the image appear, one that scales correctly and one fixed at the original size.
This all leads me to believe that for some reason a duplicate of the background brush is created for some reason and updated when the viewport is changed. Removing the opacity can resolve some of the issues but my biggest remaining problem is that the image will not clear when the background brush is set to null. Is there any way this duplicate background can be removed?