Replies: 4 comments
-
overridearrange or overridemeasure have a return, it maybe decide layout size. you can see maui's layout source code. |
Beta Was this translation helpful? Give feedback.
0 replies
-
There is now: |
Beta Was this translation helpful? Give feedback.
0 replies
-
I just want to leave my article here https://pavlodatsiuk.hashnode.dev/converting-xamarinforms-custom-layouts-to-maui, it's not fully related to the question, but it can help to quick start with the matter. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are looking at migrating a custom layout from XF to .NET Maui, but we can't find any documentation on how to do this, or to even create a layout from scratch.
The existing XF documentation is here:
https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/layouts/custom
In our (so far brief) investigation we can see we need a layout manager that arranges the children, but I don't see a way to set the height of the layout once the children have been arranged. We can use HeightRequest but that isn't always working (it doesn't work at all if the children have been created via an ItemsSource binding for example).
Any pointers would be appreciated.
Thanks
John
Beta Was this translation helpful? Give feedback.
All reactions