You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that a somewhat easy task like showing and selecting an Enum value in a ComboBox isn't easy at all. For better usage of WinUI 3 and better documentation I propose to add an example, which shows how to show and select an Enum in a ComboBox. In addition a localized version of this example (using x:uid and resx-file) would be great.
In case you consider adding an example to the docs, I would be willing to provide the code for the example.
A workaround might be an example application showing this scenario. Unfortunately the microsoft/WinUI-3-Demos do not contain such an example. Event searching StackOverflow did not provide any good help on this problem.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: 1e6068ed-6f8a-50c2-a112-e1f418d62b9d
Version Independent ID: 35c7bbab-7b19-dfc8-e741-9dadd32bdf75
It seems that a somewhat easy task like showing and selecting an
Enum
value in aComboBox
isn't easy at all. For better usage of WinUI 3 and better documentation I propose to add an example, which shows how to show and select anEnum
in aComboBox
. In addition a localized version of this example (usingx:uid
and resx-file) would be great.It seems that currently there is a bug with the initialization (microsoft/microsoft-ui-xaml#5922), but otherwise the example given in (microsoft/microsoft-ui-xaml#5922) or even this approach from UWP would work with WinUI 3 as well.
In case you consider adding an example to the docs, I would be willing to provide the code for the example.
A workaround might be an example application showing this scenario. Unfortunately the microsoft/WinUI-3-Demos do not contain such an example. Event searching StackOverflow did not provide any good help on this problem.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: