Is there a way to do a comparison on object type for a trigger?
Not a trigger but this worked for me. (The trigger-approach didn't as it can't create a checkbox for a string. This is pretty much Thomas Levesque's suggestion)
using:
xmlns:mscorlib="clr-namespace:System;assembly=mscorlib"
A CheckBox or TextBox depending on the type:
Note: for Greg Sansom's solution you either got to return the type as String or use mscorlib as above