This is my scenario.
I have 2 Properties. Type and State.
Type is an Enum with 3 values eg, ball, car, arrow. State is an int which would accept 3 state valu
I'd just use a converter that takes your object with 2 properties and returns an image. Code like that in pure XAML is painful and really belongs in C#.