With WPF, it’s pretty easy to create a converter to display the color of a text depending on an Enum value. Here is a simple example with IValueConverter.

Let’s start with the View:

As you can see, we use a converter to select the correct color. Here is the code for this converter:

The color will be based on the Status Enum:

And of course our simple ViewModel:

Happy coding 🙂