How to create binding to Android/iOS native controls/layouts/views?

Joe Phung 0 Reputation points
2023-04-17T09:09:45.4133333+00:00

Currently, I am migrating my project to .NET MAUI, but because I was using Xamarin Android and iOS instead of Xamarin Forms, so instead of using MAUI controls, I only use Microsoft.Android and Microsoft.iOS to make use of what I have already had. From the documentation of .NET MAUI, the binding between views and view models are defined in xaml files, but since I do not use MAUI controls, I would like to know how to create bindings programmatically between native controls and view models. Note that, I had used MVVM Light, now I am migrating it to Community Toolkit, which have limited supports for native controls bindings..

Developer technologies | .NET | .NET MAUI
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.