Questions tagged [xamarin-community-toolkit]

The Xamarin Community Toolkit is a collection of Animations, Behaviors, Converters, Effects and Controls for mobile development with [xamarin-forms]. It simplifies and demonstrates common developer tasks building iOS, Android, and UWP apps with Xamarin.Forms.

The Xamarin Community Toolkit is a deep collaboration between the Xamarin community and the Xamarin team at Microsoft.

When Xamarin.Forms 5 was released, a few “experimental” features were the first to make their way to the toolkit. This includes the beloved C# UI Extensions, MediaElement, and Expander controls. There is much more to the toolkit though as the community has been contributing tons of great new controls and helpers.

One of the toolkit’s goal is to gather as many of those behaviors, converters, and effects that you keep copying from one project to another. This Toolkit wants to aggregate all of these into a single package so it will become your one-stop library that has it all.

The Toolkit will also be a place where you can find brand new controls. Some of them come from PRs to Xamarin.Forms that couldn’t be included in the main package, some our controls maintainers donating their controls, and some are just brand-new things!

Also see

84 questions
4
votes
1 answer

Expander Handler Issue? System.Exception: 'Handler not found for view Xamarin.CommunityToolkit.UI.Views.Expander.'

I'm using Visual Studio 2022 preview 2.0 MAUI. I want to used a expander in MAUI, I have used Xamarin.CommunityToolkit.MauiCompat nuget. But I am seeing the exception System.Exception: 'Handler not found for view…
4
votes
1 answer

Xamarin.Forms how to use Xamarin Community Toolkit TouchEffect in VisualState

I am implementing a condition in my XAML using VisualState, but I don't know how I can change a property of an effect like the Xamarin Community Toolkit TouchEffect in a VisualState, any suggestions?
Tecnopresley
  • 73
  • 1
  • 4
  • 14
4
votes
2 answers

Cannot resolve type 'Expander'

I have an Expander that no longer accepts the Expander value in the Binding in the AncestorType property. It used to work, but since I upgraded to Xamarin forms version 5.0.0 it doesn't work anymore and Visual Studio reports me the following…
3
votes
1 answer

Xamarin Community Toolkit MediaPlayer AutoPlay doesn't work?

I ran into this issue multiple times but until this current task that I'm doing it didn't worry me too much. But now I really need to remove autoplay because this audio must only play on user interaction and not at the beginning of the page…
3
votes
4 answers

AsyncCommand in .NET MAUI

I can't seem to find AsyncCommand in .NET MAUI or .NET MAUI Community Toolkit. Any idea what package/namespace I can find it?
3
votes
2 answers

INotifyPropertyChanged vs BindableObject vs ObservableObject in Xamarin.Forms/MAUI

I have a hard time understanding the difference between those 3 things when creating a project using Xamarin.Forms or MAUI. I know what these are - INotifyPropertyChanged is an interface you need to implement when you want to use bindings in XAML,…
Razwill
  • 85
  • 3
  • 12
3
votes
1 answer

How to set size of Xamarin Community Toolkit Popup to wrap content dynamically in Xamarin Forms?

I have a Xamarin.CommunityToolkit - Popup. I don't want to predefine its size. I want it to size according to the content dynamically. Is there any way to achieve this? Here is my XAML code:
Junaid Pathan
  • 3,850
  • 1
  • 25
  • 47
3
votes
0 answers

How can you play a video from a stream using the Xamarin Community Toolkit MediaElement?

I'm currently using the Octane.Xamarin.Forms.VideoPlayer to play videos in a Xamarin Forms application, but on Android, the video does not render using the correct aspect ratio, despite trying the various FillMode settings. I want to try to use the…
3
votes
1 answer

Expander was not found in Xamarin Forms 5.0.0

I have an Expander that has always worked in my application. I updated Xamarin Forms to version 5.0.0 and XAML signaled me an error, the control no longer exists. The type 'Expander' was not found. Verify that you are not missing an assembly…
signalover
  • 167
  • 2
  • 7
3
votes
2 answers

Xamarin Community Toolkit InputValidation connect with button

I have a simple form where user add email:
Rajzer
  • 1,174
  • 11
  • 24
2
votes
0 answers

Xamarin Community Toolkit MediaElement Flashes black on load Android problem only. (Full Question Rework)

I wanted to revisit this question from before I first asked it. I'm developing a completely new version of my application and I cannot find any media player available cross-platform from the shared code in Xamarin.Forms so I'm stuck with using…
2
votes
1 answer

Using BoolToObjectConverter with TranslateExtension True/FalseObject does not return translated string

I am using the BoolToObjectConverter from Xamarin Community Toolkit (XCT) in my XAML file. The TrueObject and FalseObject properties are set to translatable strings where I use the TranslateExtension from…
2
votes
1 answer

How do I navigate to a new page from a Popup message? I'm using the Xamarin Community Toolkit Popup

I'm trying to navigate to a new page upon a click of button inside the popup. Here is what I have:
2
votes
1 answer

Xamarin Form picker using EventToCommandBahavior

I have a custom picker. I need to call an API on selection changed of the picker and the implementation must be only in MVVM. DistanceDropdown is the x:Name of picker.
1
vote
0 answers

.Net Maui CommunityToolkit.Mvvm nuget throws unhandled exception

After I add the nuget CommunityToolkit.Mvvm version(8.1.0) in my project it gives lots of errors. Most of them are for unhandled exceptions. Here is some examples, >CSC : warning CS8032: An instance of analyzer…
1
2 3 4 5 6