Is there a way to do a comparison on object type for a trigger?
Using a converter as suggested by AndyG is a good option. Alternatively, you could also use a different DataTemplate for each target type. WPF will automatically pick the DataTemplate that matches the object type
DataTemplate