Questions tagged [maui-community-toolkit]

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.

190 questions
1
vote
3 answers

Setting Color property by using BoolToObjectConverter

I want to set a background color by a boolean property IsCurrentPage. That for I use the community toolkit BoolToObjectConverter like that:
Frank Mehlhop
  • 1,480
  • 4
  • 25
  • 48
1
vote
2 answers

How to change background color of a CollectionView item based on a ViewModel property?

I have a .Net MAUI app that uses CommunityToolkit.Mvvm. I have a CollectionView of buttons bound to a list of DateTime. On pressing any button a command is called that sets SelectedTime property of the ViewModel to a corresponding value. Here is…
David Shochet
  • 5,035
  • 11
  • 57
  • 105
1
vote
1 answer

MAUI Converters throw exceptions

My project has a requirement to add or remove a UI element from the accessibility tree based on if LeftAccessibilityName has been set. To achieve this, I have bound AutomationProperties.IsInAccessibleTree to the accessibility name and then I use the…
1
vote
1 answer

Binding ContextActions MenuItem with CommunityToolkit.Mvvm in MAUI

I have a problem in binding a ReplyCommand to a MenuItem in the ContextAction.
Enrico
  • 3,592
  • 6
  • 45
  • 102
1
vote
1 answer

.NET Maui swipe-to-delete functionality is not deleting

Here is the XAML code for MainPage.xaml:
lowdegeneration
  • 359
  • 5
  • 13
1
vote
2 answers

maui MediaElement Position not updated when the video is paused

(The video has been paused and I am attempting to drag the progress bar to seek forward or backward, but unfortunately the Position property is not being updated) I would like to obtain the video position when I click a button, regardless of…
fairjm
  • 1,115
  • 12
  • 26
1
vote
1 answer

.NET MAUI Library: XamlC error XFC0000: Cannot Resolve Type

When using Visual Studio to build a .NET MAUI library that contains a reference to the .NET MAUI Community Toolkit's IsEqualConverter, the following error is displayed in the Visual Studio Output window: XamlC error XFC0000: Cannot resolve type…
Brandon Minnick
  • 13,342
  • 15
  • 65
  • 123
1
vote
1 answer

Why is my image not displaying in .NET Maui C# markup (MVVM)

I am trying to make a simple app to generate composite waveform signal audio files. I want to display a preview of what the final waveform of the audio file will look like. My issue is that I can't get the image to display in the Image control. I'm…
master_ruko
  • 629
  • 1
  • 4
  • 22
1
vote
1 answer

How to use UserStoppedTypingBehavior from ControlTemplate?

In my .NET MAUI app, I have created a custom search control and ControlTemplate for it. When I'm running the app and perform search the SearchCommand is not getting fired. If I add the Entry control directly to TestPage and add behavior then its…
Divyesh
  • 2,085
  • 20
  • 35
1
vote
0 answers

Cannot update TintColor with AppThemeBinding

Use AppTheme Binding to change Image Icon Tint Color for theme change (Light -> Dark) but the color is not changing for MAUI App.
1
vote
0 answers

.Net Maui Android Community Toolkit Observable Object not available

Im building an .net maui ios and android app, i tried to implement the Maui Community Toolkit.MVVM. After that i wanted to use the Observable Object (Picture below). But VS tells me that net7.0-android isnt supporting that, any help…
Pascal
  • 79
  • 1
  • 5
1
vote
2 answers

Data binding with custom object not refreshing UI when adding object in .NET MAUI

I have a MAUI app. I have an object Comment with a List of Note-objects inside: public class Comment { public List Notes { get; set; } ... } Now in my MainPage.xaml I want to display all Notes of my Comment. For this I have built…
OttherCreek
  • 615
  • 1
  • 6
  • 18
1
vote
0 answers

Community.Toolkit.MVVM not working with .NET Maui?

So, I am trying to experiment with .NET Maui and wanted to use the community toolkit for MVVM. Here is the extremely simple class: using CommunityToolkit.Mvvm.ComponentModel; using System; using System.Collections.Generic; using System.Linq; using…
1
vote
1 answer

Expander throwing NullReferenceException

I am developing an app using .Net Maui and .Net 7. In one of my pages, I need to show a list of our clients with their names and addresses, and 4 buttons. To avoid a long loading process, I want to use the Community Toolkit Expander, and place the…
Gabic
  • 484
  • 1
  • 6
  • 15
1
vote
1 answer

Is there a Visual Studio template for .NET MAUI Community Toolkit C# Markup?

I am interested in trying out C# Markup, but could not find any Visual Studio template on my own. Did I miss something or is there really none?
stefan.at.kotlin
  • 15,347
  • 38
  • 147
  • 270
1 2
3
12 13