The .NET MAUI Community Toolkit is a collection of common elements for development with .NET MAUI that developers tend to replicate across multiple apps. It simplifies and demonstrates common developer tasks when building apps with .NET MAUI.
Questions tagged [maui-community-toolkit]
190 questions
0
votes
1 answer
How do I get the Maui ListView ContextMenu to bind to my viewmodel command
I have the following XAML

Steve Borman
- 337
- 1
- 10
0
votes
1 answer
Maui Community Toolkit - UniformItemsLayout - only first StackLayout showing
I am having issues getting more than one StackLayout to display in my UniformItemsLayout. I haven't changed my code since it was working, the only difference is I updated from some 1.X version to 3.1 and now only first child shows up if it is in a…

Mufacka
- 227
- 1
- 2
- 11
0
votes
1 answer
How to pass objects to PopupPage using MAUI.Toolkit or Mopup plugins?
I have a Maui app where I use MVVM pattern with MAUI Toolkik and also trying with Mopup plugin but I haven't found how to pass objects to Popup pages combined with MVVM. At the moment, I have a page, which I use to navigate to the PopupPage…

Luis Guzman
- 47
- 6
0
votes
2 answers
Does ObservableValidator work in properties which are classes
I have a Maui app with a view model. The ViewModel has the following property:
[ObservableProperty]
public UserAccountDTO userAccount = new UserAccountDTO();
UserAccountDTO has the following property:
public partial class UserAccountDTO:…

BuckBuchanan
- 198
- 13
0
votes
1 answer
The value for property 'ValidateCommand' must be of type 'System.Windows.Input.ICommand'
In my learning NET MAUI app I want to pass a behavior command parameter as string, like this:
Entry x:Name="name" Text="{Binding Name}"
ClearButtonVisibility="WhileEditing">

Wasyster
- 2,279
- 4
- 26
- 58
0
votes
2 answers
net maui entry Behaviors and Triggers on validation not triggers
I stuck with the validation process. On text change, the view model property (Name, the only one on what I am trying to achieve this) gets the value changed.
I am using CommunityToolkit.Mvvm v8.0.0.
My vie model looks like this:
public partial class…

Wasyster
- 2,279
- 4
- 26
- 58
0
votes
2 answers
WindowsPackageType is set to None, but GenerateAppxPackageOnBuild is set to true
I created the .exe for the .net Maui Project by changing Some of the Code Like None
and in launch Setting File Changed the Command name to Project.
Now, I want to create the MSIX for the Same project I…

Sanjana Patel
- 21
- 1
0
votes
0 answers
MAUI Call a function after bound property update
I'm working on a;
.Net7 MAUI app.
CommunityToolkit.Maui 3.1.0
CommunityToolkit.Mvvm 8.1.0-p2
I have a DatePicker in my xaml bound to a DateTime property (date of birth (dob)) in the ViewModel.
[ObservableProperty]
private DateTime…

Ray Brennan
- 373
- 1
- 6
- 19
0
votes
1 answer
Collectionview SelectionChangeCommand doesn´t work with CommunityToolkit.Mvvm .NET MAUI
I have a simple project using Community Toolkit Mvvm tool and a collectionview. The issue is that the SelectionChangeCommand of the CollectionView doesn´t fired when I select an element of the collection. I created this project because on another…

Luis Guzman
- 47
- 6
0
votes
1 answer
Nullable DatePicker for Xamarin MAUI
I have requirement for nullable datepicker for xamarin maui. I can find the solutions for Xamarin Forms but is there any solution available for Xamarin MAUI.
I have tried it but with no success :…

Manish Pansiniya
- 537
- 4
- 14
0
votes
1 answer
Use PopupExtensions.ShowPopupAsync function in Custom Control in MAUI
I created a custom control in MAUI that must work if user select with a click or tap, a Popup must show with some content, let's say for example a Calculator instead a Keyboard. I'm using CommunityToolkit.Maui. But the sentence
var popup = new…

Roberto Vargas
- 69
- 8
0
votes
1 answer
How to change DropDown text color of picker in the .NetMaui
It's seem by default, dropdown text's color of picker in .Netmaui seem to be set as Black; Please tell me how to change it (it's best if can set the color bindable).
I already try to set this in Project/Platforms/Windows/App.xaml…

Le Anh Xuan
- 125
- 7
0
votes
1 answer
How to change DropDown background color of picker in the .NetMaui
By default, dropdown background color of picker in .Netmaui seem to be set as Gray200; Please tell me how to change it by customized color.
I already set this:
…

Le Anh Xuan
- 125
- 7
0
votes
2 answers
How to subscribe to .NET MAUI LifeCycle Events from a ViewModel?
I am using the MauiCommunityToolkit and builder.ConfigureLifeCycleEvents in MauiProgram.cs like this:
// Initialise the toolkit
builder.UseMauiApp().UseMauiCommunityToolkit();
// the rest of the logic...
…

John Dinning
- 57
- 9
0
votes
0 answers
How to navigate users to open phone settings in .net maui
The application will prompt the user with a control in the alert such as button, which on clicking, will open Settings of the phone.
I want this in order to navigate user to Settings>Locations>Turning on Location service in case it's off.

Arup
- 155
- 11