Questions tagged [community-toolkit-mvvm]
85 questions
0
votes
1 answer
.Net MAUI: View not drawing data from ViewModel - Intellisense shows a connection
My VIEW refuses to draw data from the VIEWMODEL. The Visual Studio 2022 intellisense fills in the connections as if there is a connection, and it compiles just fine...but no data displays. I've stepped away from XAML for several years, and I'm…

RAB
- 317
- 3
- 12
0
votes
0 answers
Programmatically select an entry in MAUI using MVVM
I am developing an Android app with MAUI using Community Toolkit.MVVM.
The logic is:
Scan barcode => next page and scan data matrix => next page.
Since I use scanner to scan Data matrix. Is has to be done without using any gesture or any click I…

Farukh
- 1
0
votes
0 answers
How to use Windows.Devices.Enumeration with MVVM and Dependency Injection for BarcodeScanner
I am new to MVVM and Dependency Injection, and therefore I could need some Hint how to do it.
My Project, which handles a Barcode Scanner and also running in the Background, currently is using the ManagementObjectSearcher with SerialPort and also…

Vergil
- 1
- 1
0
votes
1 answer
UnoPlatoform Desktop App DataGrid Template Column with HyperlinkButton Command Binding issue using MVVM
We are developing Desktop application using UnoPlatform in which we are using DataGrid from CommunityToolkit.WinUI.UI.Controls for displaying some data.
So, my requirement is to have HyperlinkButton for one of the DataGrid Column and am using…

Sri Nivas
- 7
- 2
0
votes
1 answer
.Net Maui Editing ObservableCollection Item Does Not Update ObservableView
The title says it all. When adding or removing an item, the MVVM Community Toolkit ObservableView updates perfectly, but not when editing an item.
Breaking after editing the item shows that the item is updated correctly in the…

AFranklin
- 1
- 1
- 3
0
votes
1 answer
Uno Platform UI not updating Loader when Observable property is updated ViewModel
I am developing a client using Uno Platform and WINUI3. I have small requirement to show the loader when some external API call is being made asynchronously for getting data. In fact i need this functionality across all pages.
i am using x:Bind to…

Sri Nivas
- 7
- 2
0
votes
1 answer
Community Toolkit.Mvvm - Where can I find an exhaustive list of field decorators
I'm trying to find an exhaustive list of available field decorators in Community Toolkit.Mvvm.
I've been able to discover the following list from a couple of YouTube videos posted by James…

T. A. Pfaff
- 51
- 9
0
votes
2 answers
MVVMToolkit ObservableValidator several "Duplicate" errors
I'm using Microsoft MVVM Toolkit 7.1.2 in a WPF .Net Core 3.1 project. If I use the ObservableObject class it works fine, but, whenever I try to create an ObservableValidator class in my application it gives me several errors in auto generated…

Rafael Leonardi
- 62
- 8
0
votes
1 answer
UWP CommunityToolkit Messenger async handler
I have a UWP project and I want to message passing between ViewModel and View with CommunityToolkit MVVM Toolkit.
As you can see in my ViewModel we have something like below
private async void CallbackClick()
{
while…

sorosh_sabz
- 2,356
- 2
- 32
- 53
-2
votes
2 answers
JsonSerializer.DeserializeAsync no error, no exception, no result
In my NET MAUI application I am de-serializing a http response:
private async Task SerializeResponse(HttpContent content)
{
var options = new JsonSerializerOptions
{
PropertyNameCaseInsensitive = true
};
using var…

Wasyster
- 2,279
- 4
- 26
- 58