docs-maui
docs-maui copied to clipboard
.NET MAUI 9: Compiled bindings
In .NET MAUI 9 there's a source generator that allows developers to call the SetBinding
extension method to define bindings on their bindable objects using Func
instead of string
paths. There's also an additional API that builds on this that will not only set the binding directly to the object, but it will return the binding object instance and allow the developer to pass it to some other method and use it later.
More info: https://github.com/dotnet/maui/pull/23239