I have a WPF Custom Control that presents me with a certain point in the plan (I create a landmark application for my research) and I want it to look different for the different categories of objects represented by this node map (i.e. toilet elevator or ordinary room).
Can someone give me some idea on how to do this?
I tried to create a converter, but that didn't work. Also my problem is that sometimes it can be a WPF element like Ellipse and sometimes it has to be an image.
Is it possible to create a user control with several templates, and the template will be selected depending on the attribute of any category?
source share