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
I'm developing a WinUI 3 project. I have a window in a xaml, which is the main window of the project. On Windows I have no problem, by the way on MacOS I get the error "Cannot derive from sealed type Window".
Expected behavior
Being able to derive from Window.
How to reproduce it (as minimally and precisely as possible)
Thanks for your suggestion.
By the way, is it possible to know if this feature will be implemented in next versions?
Actually my app is particular relying on the Window xaml, so I'd like to know if I can just wait for next Uno versions or if I have to rewrite the logic referring to the unoapp-winui sample
Activity
jeromelaban commentedon Feb 22, 2021
Thanks for the report.
At of Uno 3.5, the
Windowclass is not the same as the one found in WinUI 3.0, and cannot be used directly in XAML.You can refer to the unoapp-winui sample for an example application that does not rely on
Windowin XAML.vadd98 commentedon Feb 22, 2021
Thanks for your suggestion.
By the way, is it possible to know if this feature will be implemented in next versions?
Actually my app is particular relying on the Window xaml, so I'd like to know if I can just wait for next Uno versions or if I have to rewrite the logic referring to the unoapp-winui sample
jeromelaban commentedon Feb 22, 2021
We will implement the missing APIs in future release, to align with the WinUI windowing contract.
MartinZikmund commentedon Mar 27, 2024
This is done now