Skip to content
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

A better way to use IInitializeWithWindow #355

Closed
mveril opened this issue Jul 24, 2020 · 1 comment
Closed

A better way to use IInitializeWithWindow #355

mveril opened this issue Jul 24, 2020 · 1 comment

Comments

@mveril
Copy link

mveril commented Jul 24, 2020

Using IInitializeWithWindow is very complicated with CsWinRT compared to the old .NET way. You can see the implementation in the WinUI-3-Demos repo. It's possible to restore the old way or create a wrapper for that integrated in CsWinRT ?
Another isuue which talk about that #287

@mveril mveril changed the title A better way to use initializeWithWindow A better way to use IInitializeWithWindow Jul 24, 2020
@Scottj1s
Copy link
Member

CsWinRT now supports ComImport-attributed interfaces directly. These can be defined by end developers, or included in projection assemblies, where appropriate. See also:
microsoft/microsoft-ui-xaml#2595

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants