-
MAUI Creating Custom Attached Properties
Custom attached properties are a powerful way to extend existing controls with new properties not part of the control basic definition in .NET MAUI. It also gives you the ability to create your reusable behaviors or styles that you can add to multiple different elements in your app. Attached Properties Overview Adding a Custom BorderColor…
-
MAUI Creating Custom Bindable Properties
When creating custom controls that use databinding in n .NET MAUI it’s useful to create custom bindable properties. Custom controls can participate in XAML based data binding like any other UI control using Bindable properties. Custom Bindable properties overview A bindable property allows you to: With the BindableProperty class we create a bindable property which…
-
MAUI Data Binding
In .NET MAUI, data binding allows us to connect UI elements to data sources for the data to be automatically bound when changes made on the source are reflected on the UI. It’s very important when you’re creating complex applications as it makes your UI much more dynamic and easy to manage. Let’s build a…