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
Thanks for the report - this will be fixed in Windows App SDK 1.1. As an alternative workaround, you can also add the Microsoft.UI.Xaml.Data.Bindable attribute to the types being assigned to the property, e.g.:
Describe the bug
XamlTypeInfo forgets to generate type information if the type is only used as type xaml, not object or property.
Steps to reproduce the bug
MyEnum
Expected behavior
Enum values shown in the ListView.
Screenshots
N/A
NuGet package version
WinUI 3 - Windows App SDK 1.0.0-preview3
Windows app type
Device form factor
Desktop
Windows version
May 2021 Update (19043)
Additional context
The workaround is to create a dummy object:
Having a control with the enum as a property will make it generates correctly.
The text was updated successfully, but these errors were encountered: