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
0
votes
0 answers

It does not detect my webcam xamarin community tools

I am trying to connect my webcam from my cell phone through xamarin, however, it is not working, when using my front camera and my back camera it works, however when I use CameraOptions = "External" it does not detect the webcam This is my code with…
0
votes
1 answer

Determine which visual element was long-pressed in TouchEffect? - Xamarin Community Toolkit

I have an array of visual elements on a page, any of which can be long-pressed. In code, I can get a command to run when a button is long-pressed: for (int i = 0; i < choiceButtons.Length; i++) { TouchEffect.SetLongPressCommand(choiceButtons[i],…
BillF
  • 1,034
  • 3
  • 13
  • 28
0
votes
0 answers

Display camera stream in Xamarin

I want to display the stream of a camera inside a page. Like that: Mainly, the application runs on Windows 10. I have set Fall Creators Update (16299) as minimal version of Windows. I have found CameraView (from Xamarin Community Toolkit - 1.2.0)…
Andres Talavera
  • 2,100
  • 2
  • 17
  • 29
0
votes
1 answer

Xamarin XCT TabView - can the heading be setup to scroll/swipe into view more headers than fit horizontally?

Just trying out the TabView from the Xamarin Community Toolkit. Is it possible to configure it so that tab headers scroll/swipe horizontally into view rather than having to shrink them into the available horizontal…
kenny
  • 21,522
  • 8
  • 49
  • 87
0
votes
1 answer

The best way to work with XCT popup with no hot reload

so I'm working with the XCT popup but hotreload doesn't work (I'm not sure if something is wrong on my end). I'm just finding it really annoying to have to restart my project each time when I'm placing images, I just can't get the positions right.…
0
votes
0 answers

Xamarin Community Toolkit MediaElement not playing video from stream

I have a .ashx handler file that I use to stream files from my website. I pass a file id and the handler gets the file, sets the content type and streams it. This works great for all the files I display in my iOS apps. I am having an issue with…
thinkjohn
  • 33
  • 8
0
votes
2 answers

Xamarin Hot Restart - App crashes if Static Property from generated class (using Text Template) is used

I am using Hot restart to debug directly to my IPhone. The App only crashes while using Hot Restart in the Emulator using Cloud Solution the app works just fine. I Have a .Resx File AppResources and I am using Translate extension provided from…
0
votes
1 answer

Xamarin Forms: Is there a ViewDisappeared event for ViewElement?

I have been trying to dispose a ViewElement/View when the Page displaying it is no longer on top of the NavigationStack in Xamarin Forms. It seems there is a new effect called LifecycleEffect from Xamarin Community Toolkit that would be able to do…
Ramon Brokking
  • 55
  • 2
  • 2
  • 10
0
votes
1 answer

Shell.Current.GoToAsync to xct:Popup results in error System.NullReferenceException

I would like to display a Popup with the Xamarin Community Toolkit Popup, but I try to navigate to it using Shell I receive the error "System.NullReferenceException Message=Object reference not set to an instance of an object." The xaml for my…
AG70
  • 874
  • 1
  • 9
  • 23
0
votes
1 answer

Xamarin Community Toolkit Popup MVVM Binding Issue

Attempting to utilize Xamarin Community Toolkit Popups in Xamarin Forms MVVM pattern project, target platforms IOS & Android. Popups are appearing, however I cannot bind to display my PopUpMessage string from viewmodel. Here is my…
BigMarty
  • 135
  • 1
  • 6
0
votes
1 answer

Xamarin Community Toolkit TabView switching tabs when tapping on entry

I have a strange behavior with the TabView. View:
0
votes
2 answers

Expander direction error InvalidOperationException: Header not initialized

When set Expander direction an error message is displayed System.InvalidOperationException: 'Header not initialized'
0
votes
1 answer

How to bind MVVMCross with Markup for C#

I'm trying to use the C# markup extensions from the Xamarin Community Toolkit to create Xamarin.Forms views but would like to use MvvmCross to bind the views. I have a working solution for a MvxContentPage but I'm not sure that calling Bind…
Hackmodford
  • 3,901
  • 4
  • 35
  • 78
0
votes
1 answer

Prism View is being assigned parent page ViewModel inside XCT tabview

I have historically been using the syncfusion tab control as part of my layout on my apps, however, with the recent introduction of the Xamarin Community Toolkit (xct) and with the LazyView being in the latest pre-release nuget I want to use this…
Chris Boot
  • 97
  • 1
  • 10
0
votes
1 answer

How to bind the content of a control to a property of type VIEW in XAML

I would like to make a generic settings page for my App. I have a list of different types of settings, each one corresponding to the following interface: public interface ISettings { string SectionLabel { get; } View SectionView { get;…