Enumerated Global Colors
I am designing a UI with alot of vector objects. The objects have varying colors between Yellow, Orange, and Red. I don’t know what the final RGB values of these colors will be, so I am currently using a View Model that has a couple Enumerated Color Values with names like Light Orange, Medium Orange, Dark Red, etc.
Then, when I make a polygon object, I bind it’s fill color to the enumerated color in the View Model.
When I hit “Play”, the color values from the View Model overwrite the values in the polygon and it works great.
But, when I go back to design mode, the colors of the polygons revert to whatever color they were when I created them, typically grey.
Is there a way for the View Model values to set the property values of my objects in design time as well?