Skip to main content

This library is a source generator. BindableProps helps you to create MAUI components much faster than the standard way. It saves your time and is an essential part of every MAUI project.

Install with dotnet CLI

dotnet add package BindableProps --version 1.3.9

Your csproj file should has this

1

1
2 using BindableProps;
3
4 namespace MyMauiApp.Controls;
5
6 public partial class NovelReview : ContentView
7 {
8 [BindableProp(DefaultBindingMode = (int)BindingMode.OneTime)]
9 private string _name = "Kafka On The Shore";
10
11 [BindableProp]
12 private string _author = "Haruki Murakami";
13
14 public NovelReview()
15 {
16
17 }
18 }
19
s