Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Browsing all 91519 articles
Browse latest View live

How dinamically set property in xaml

Hi, is there any way to set the color of a label by the xaml? The text property is already binded to a variable, and i'ld like to set the color as: if(int.parse(text)< 0) ValueColor=Color.Red; else...

View Article


How to implement voice to text

I am working on a cross platform project and I would like to add simple speech to text into an entry element for user to comment by voice instead of typing. I do not know specifically yet which library...

View Article


Switch control doesn't work in Android

Hi, I'm trying to use a swtich control in android 4.1.2 but it doesn't seem to toggle no matter how I tap on it. it is enabled and visible, I tried it with binding and without neither help. (emulator)

View Article

Image may be NSFW.
Clik here to view.

How to create Flyout Menu like UWP?

I have a ListView, I want to create a Flyout Menu like UWP Native. How to create Flyout menu exactly at Item Selected of ListView.

View Article

SkiaSharp and Touch

Hi guys, I have a problem with Skia and Android. The following code is working perfectly with iOS <skia:SKCanvasView x:Name="canvasView" PaintSurface="OnCanvasViewPaintSurface"...

View Article


How to get Navigation back button event in Xamarin forms

In my project on one page there is a form to add products. if user doesn't save the details and pressed back button, at that time I want to display the action sheet having Discard, Save, Cancel...

View Article

[UWP] Excep_FromHResult 0x8007007E

Hello, I'm having troubles to deploy my app on some UWP devices. It works as it should on computers that have Visual Studio installed on it but fails on the other ones. What I did : I turned "Dev mode"...

View Article

XAML: Create base content page with header and footer

I want to create a page header and footer for every content page I use. I created a BaseContentPage and added the necessary XAML, but when I derive from this page, the new one seems to override the...

View Article


Using ACR.UserDialogs, can you close a dialog (like Login) in code?

I want to close the dialog if it is open when the app closes so that when the app is opened again it won't still be up. Is it possible to call close / cancel on the dialog?

View Article


Use of VS2015 and VS2017 with Xamarin.Forms in parallel?

Hi all I actually have a .forms app created with VS2015 under development for a project and want to freeze this (whole) configuration (with all dependencies like .forms version, VS integration SW...

View Article

image isVisible=true with Listview for code c#

I need it when I click on a viewcell inside it has an image in isvisible = false, from code as I access it to put it true or as it would with binding

View Article

Xamarin.FormsMaps Error

Ive struggle with this all day today. I am trying to use Xamarin.Forms.Maps for the first time, but every time I try to install it, after having a perfectly working codebase, I get this error when...

View Article

Image binding using path in Xamarin forms

Hi All, This is how I am trying to bind image in ListView- fruitGroup.Add (new MenuListModel () { Name_PriceTag = "strawberry", IsReallyAVeggie = false,Comment = "spring...

View Article


Getting Error while using PCLAppConfig

I got this error: "unhandled Exception: System.IO.FileNotFoundException: please link the 'App.config' file from your shared pcl project to the 'Assets' directory of your android project, with build...

View Article

How to get the X & Y coordinates of a grid cell

Hi everyone, I am looking for a way to get the coordinates of a Grid. In Xamarin.Android Native you can use the GridLayout.Spec and then GridLayout.InvokeSpec. I need to know how to do the same in...

View Article


Error: Cannot add a null child view to a ViewGroup

I have an ArcGIS MapView in a page. In Android there is some bug where you have to remove the MapView from the UI when navigating to a new page, and add it back when you come back to your...

View Article

Xamarin Forms Map is not working in android

Hi Team , i am facing a issues after updating Xamarin Forms to latest . The issues is in android side i am not able to display the custom pins the break pointer is not triggering...

View Article


How to refresh a ListView when the DataTemplate changes in Xamarin.Forms

I have a ListView with two DataTemplates that are used with a DataTemplateSelector. I want the user to be able to click a button and have theListView switch between the two templates. I also have it...

View Article

How to get current location radius in Xamarin.Forms?

Hi everybody! I have a Table in SQLite have 3 columns (LocationName, Latitude, Longtitude) I want to load data to a ListView filter by current location radius Ex: I set Radius is 1Km, I want load data...

View Article

Setting a header of a grid in a listview

Hey, I am trying to add a header to my listview. My listview contents will be a grid, so the column sizes will change dynamically. I have tried using listview.header, but the size of the header column...

View Article
Browsing all 91519 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>