WinUI 3 with C++ and XAML but without MIDL #8262
sotanakamura
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
If you really hate MIDL (or can't use it since you don't have VS or Windows SDK), you can make {Binding} work with an implementation of ICustomPropertyProvider. This would seriously need some meta-programming or code-generation automation though, you won't want to write this by hand. This is how I get binding working with MinGW (this is with XAML islands and System XAML though): https://github.com/driver1998/XamlMinGW |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone!
You can define WinUI 3 UIs with XAML. Classes reffered in XAML should be Windows runtime classes which you define with MIDL. Creating Windows Runtime classes is a little bit hard. I have written an article on how to define UIs with XAML but without MIDL.
Beta Was this translation helpful? Give feedback.
All reactions