← Back
Gerald Versluis June 30, 2022 4m

Control Reference Bindings (view-to-view) - .NET MAUI 101

Summary

In this .NET MAUI 101 tutorial, the presenter demonstrates control reference binding, a technique for directly linking control properties without using a view model. The key technique involves using x:Name and x:Reference in XAML to create a direct property connection between a Switch and a Button, allowing the Switch's IsToggled state to dynamically enable or disable the Button. The practical takeaway is that developers can simplify control interactions by using direct references, which works across all .NET MAUI platforms and can be applied to more complex validation and interaction scenarios.

View original episode ↗