Ready-to-use .NET MAUI controls for MVVM apps including TextboxField, ComboboxField, ListboxField, and LabelField. Bind entire ViewModelField objects for automatic label, validation, and visibility support. Works with Benday.Presentation toolkit.
$ dotnet add package Benday.Presentation.ControlsReady-to-use .NET MAUI controls for MVVM apps. Bind entire ViewModelField objects for automatic label, validation, and visibility support.
Written by Benjamin Day Pluralsight Author | Microsoft MVP | Scrum.org Professional Scrum Trainer https://www.benday.com https://www.slidespeaker.ai info@benday.com YouTube: https://www.youtube.com/@_benday
Got ideas for features you'd like to see? Found a bug? Let us know by submitting an issue https://github.com/benday-inc/mvvm-presentation/issues. Want to contribute? Submit a pull request.
dotnet add package Benday.Presentation.Controls
<!-- In your XAML -->
<controls:TextboxField BindingContext="{Binding FirstName}" />
<controls:TextboxField BindingContext="{Binding LastName}" />
<controls:ComboboxField BindingContext="{Binding Country}" />
// In your ViewModel
public ViewModelField<string> FirstName { get; } = new("First Name");
public ViewModelField<string> LastName { get; } = new("Last Name");
public SingleSelectListViewModel Country { get; } = new();
The controls automatically handle:
IsVisibleIsEnabledIsValid is falseFull documentation: https://benday-inc.github.io/mvvm-presentation/