Pictures stroke


I have a group of nodes that i am representing with pictures. I want make my node changing their stroke color like the example : change data value in So i want to know i you can provide me any solution.

Thank for your help

Two screenshots or sketches showing before and after would be useful, along with the nature of the change to the data.

I want to have the same result of this code but instead of shape i want to use picture, and i see that picture don’t have “stroke” property.

Try replacing the TextBlock with a Picture.

Thank you it works.