As an example take the following code:
public enum ExampleEnum { FooBar, BarFoo } public class ExampleClass : INotifyPropertyChanged { private ExampleEn
If you are using a MVVM, based on @rudigrobler answer you can do the following:
Add the following property to the ViewModel class
public Array ExampleEnumValues => Enum.GetValues(typeof(ExampleEnum));
Then in the XAML do the following: