I am displaying some shapes in the palette. For example i display a block named Logical block in the palette.
After i drag and drop that block on to the diagram, using data inspector i would like to provide a feature to the user to change the shape of the image. When user selects a different shape by selecting from dropdown in datainspector then shape of the image should change automatically. For example after drag and dropping logical block i would choose AND shape in the dropdown in the property using datainspector and then the shape of the block should change to AND gate.
Any example please.