Extending ContentDialog
with generics <T> stops autogenerated code
#9613
Labels
ContentDialog
with generics <T> stops autogenerated code
#9613
Describe the bug
ContentDialog
can be extended as shown in the example here. This works fine but as soon as I add a generic typeInitializeComponent
and other autogenerated code is not generated anymore.Steps to reproduce the bug
See the screenshots.
Expected behavior
Is this not supposed to work?
Screenshots
Adding generics
NuGet package version
WinUI 3 - Windows App SDK 1.5.3: 1.5.240428000
Windows version
Windows 11 (22H2): Build 22621
Additional context
I assume this is the case for all controls, not just
ContentDialog
.Thanks
The text was updated successfully, but these errors were encountered: