I created an Image button called MultiImageButton with 4 properties for Normal, Mouse Over, Disabled, and Pressed. I won't post the class code (unless you want me to ) because it works and isn't the problem. The class is in the Controls folder.
Bindings for value DataGridTemplateColumns don't show correctly in the designer intellisense, though they are binding to the ItemSource for your grid. It's an annoyance that I've learned to live with, as the values do bind correctly at run time.
That said, your style trigger is pretty mungy. Is there a terribly compelling reason that you can't do:
I've been looking at Magnify shader effects (for example, the one in Shazzam[^]), and I can get this to work OK. Other magnify effects seem to use a similar approach.
However, it appears to be magnifying the on-screen image, i.e. the as-displayed pixels are being enlarged by the effect. I have a large bitmap which is being reduced (via a scale transformation) to fit in a window, and I would like the magnify effect to display the original pixels (i.e. at a higher resolution than the scaled display image). I tried applying the magnify effect internal to the scale transformation, but that doesn't seem to do the trick.
Does anyone know how or if this can be done using pixel shaders? (For info, I'm using WPF .NET 4.6)