-
Notifications
You must be signed in to change notification settings - Fork 657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extending ContentDialog
with generics <T> stops autogenerated code
#9613
Comments
(The WPF schema supports it :') ) You would need to have an intermediate declaration that solidifies an implementation like |
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: