I've developed a subclassed ComboBox control in C#, UWP, for enum type properties.
It works great! Almost all the time (... types).
Problem surfaced when the type of the enum was Windows.UI.Text.FontStyle.
The item selection still works right, but what it displays is not the .ToString() values, but Windows.Foundation.IReference`1<Windows.UI.Text.FontStyle> for each item.
When I debug, everything is the same and fine as far as my code is concerned.
My control works by a DependencyProperty called SelectedItemEnum - SelectedItemEnumProperty, which' type is object. And by this binded concrete enum value it sets the ItemsSource:
ItemsSource = Enum.GetValues(SelectedItemEnum.GetType()).Cast<Enum>().ToList();
(And I handle the SelectionChanged event (inside the control) to set the value, but that part always works well.)