❔ WinUI MVVM: Dealing with enums
How do you guys bind enums with the
ComboBox
control in WinUI?10 Replies
Pretty sure you can do this in WinUI as well:
https://github.com/nohopestage/Styles/blob/master/Styles/MainWindow.xaml
GitHub
Styles/Styles/MainWindow.xaml at master · nohopestage/Styles
DynamicTabControl Demo. Contribute to nohopestage/Styles development by creating an account on GitHub.
Oh you are using runtime bindings
Don't really know what those are, but I guess so
{Binding}
is runtime, {x:Bind}
is compile-timeAh, in WPF there is only
{Binding}
You could try {x:Bind}
Let me know if it works for youx:Bind has quite different semantics and so ElementName doesn't work there
What's that for?
wdym
There's no
ElementName
in the xaml I linkedWas this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.