I'm trying to use a datatrigger to show and hide an image, but it doesn't work. I have made a small example of what I'm trying to do.
When I try to compile this code it gives me this error message:
Cannot find the Trigger target 'testImage'. (The target must appear before any Setters, Triggers, or Conditions that use it.)
Can anyone tell me how I can make testImage available to the datatrigger in App.xaml?