Unable to wrap Material.Components.Maui components
See original GitHub issueHi there. Trying to generate wrapper for the Material.Components.Maui library, but the generated code is invalid.

As I see (1, 2), they inherit from SKTouchCanvasView, not from ContentView or else.
Is it possible to generate wrappers for this library? Maybe with some workarounds in generator?
Issue Analytics
- State:
- Created 7 months ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Material design components for .NET MAUI
Material.Components.Maui · Documentation. mdc-maui.github.io/ · The available controls. : ready : unverified : needs help. control, android, windows ...
Read more >Controls - .NET MAUI
. NET MAUI views are the UI objects such as labels, buttons, and sliders that are commonly known as controls or widgets in...
Read more >Best practice of wrapping material components : r/Angular2
Hi guys,I'm currently trying to wrap material components for the sole purpose of not being dependent on it and being able to replace...
Read more >Is there a way to wrap the content of a HorizontalStackLayout
Be it Horizintally or vertically, it stacks one item after another. It will never make an additional row if horizontal, or another column...
Read more >NET MAUI Controls for Mobile Apps - FREE
A control suite for .NET MAUI ships with high-performance UI components. Includes a Data Grid, Scheduler, Charts, Tab View, Data Editors, Menu.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

After further investigation, I found that MauiReactor had some bugs exploited by the mdc controls integration that I’ve now resolved in the new version. I’ve done some tests and it works fine now.
Still not sure of some mdc design decisions, for example, they set Vertical and Horizontal LayoutOptions inside styles. Also, I think they need to make more robust the measure pass more in order to avoid the creation of a canvas of infinite size leading to the above OOM. Anyway, given that one loads the resource dictionary containing the styles and pays attention to the layout options everything should work just fine.
BTW Your report helped a lot, thanks
I’ll create a sample project using that library and I’ll let you know