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

Expanding a Frame inside a Listview

Hello everyone, I'm new to the Xamarin scene and I have a problem I haven't been able to Google or work my way out of: I have a Listview with some - initially - hidden controls. I want the hidden...

View Article


I'm struggling to get databinding to work

So I am pulling from a table called "Person" in a SQLite database. This table has several properties including the PersonId and PersonName. There are many "people" in this table. I am trying to pull a...

View Article


Can i apply a binding to Style in Xamarin

Basically I have a pge like this: <?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"...

View Article

Json array to Picker in Xamarin Forms

Hello, What Im trying to accomplish: scan the qr code -> get the data from the api -> display that in picker. For past 2 days Im trying to accomplish following thing: 1)Get json data from my api...

View Article

Retrieve json ID from listview row

Hi everyone, I have a listview populated by a json. After pressing a button (located inside each line) I have to print other fields related to his ID in another page or inside a popup. If I am not...

View Article


Why the "suggested event name" is not working ?

I've just starded xamarin study and I'm facing this problems: imageshack.com/i/plM4tMO4p imageshack.com/i/pm42aXDbp When I create the click event in the XAML page the visual studio should suggest a...

View Article

Error when connecting to Web API

I am attempting to connect to a Web API project and having problems. I am using one of the basic controllers installed with the API project, and when I use the URL directly in a browser, it works:...

View Article

Image may be NSFW.
Clik here to view.

Weird ImageButton behavior inside ListView

Hello all!! I have an ImageButton inside a ListView. Everything is working perfectly (binds, tap events..). The XAML code is below. <ImageButton Source="more_options" Aspect="AspectFit"...

View Article


How to reference a StyleClass from the code-behind page?

This compiles just fine but blows up in the iOS simulator when the view loads: public MyTestPage() { InitializeComponent(); int i = 1; int iLen = 16; for (i = 1; i <= iLen; i++) { Label label =new...

View Article


Two different types of ListViews within a single ScrollView

I have been trying to construct two ListViews within one ScrollView for a few hours now, but I can't seem to wrap my head around it. I have already noticed that two, or multiple, ListViews are a big...

View Article

How to reference a StyleClass from the code-behind page?

This compiles just fine but blows up in the iOS simulator when the view loads: public MyTestPage() { InitializeComponent(); int i = 1; int iLen = 16; for (i = 1; i <= iLen; i++) { Label label =new...

View Article

Can i code for a Xamarin.forms css style sheet base on platform? Can i target...

Is it possible to target an entire stylesheet base on platform for CSS? Is it possible to targe a specific style for a specific platform based on CSS?

View Article

How to open a different xaml page on push notification click event?

Hello,I want to open a different xaml page from android push notification click? But I have searched the forum and internet but cant find a working solution.Any ideas about how to achive this? (I'm...

View Article


Images in Grid adding space above and below (Solved)

Edit: Nevermind. I attached a method to the SizeChanged of the image and set the height equal to the width inside. Apparently I can't post images, so I'm not sure how to show you the issue. I was under...

View Article

Override/intercept navigation bar back button press in xamarin forms android?

I know it's possible to override back bahavior on the hardware back button press for android, but I want to be able to do it in the navigation bar. I came across this post but it does not work. The...

View Article


Image may be NSFW.
Clik here to view.

How to put colour in Safe Area on iOS

How to put a background colour in the safe area similar to the red colour using Xamarin Forms? Thanks

View Article

geocoder.GetAddressesForPositionAsync works on iOS and not Android.

I have a call to Reverse Geocode coordinates and it works on iOS, but when I run it on Android, I get a very unhelpful error. Has anyone else experienced this? I am running the app using Genymotion...

View Article


Check of Entry is clicked/focused

Hi, I have some code in which I want to detect which Entry has been selected, if possible I want to do this combined with a Binding so I can use it in my ViewModel. Is it possible to detect this?...

View Article

Need help

need help, i can not find a solve for client only can write the price (example: what i need is the client only can insert a price, like: 12.17 or 127,39. Could you help me? i already tried to use a...

View Article

The type or namespace name 'Android' does not exist in the namespace...

Hi guys. I Updated my nuget packages few days ago to new versions. but my Android project has 2 errors in MainActivity.cs: 1: The type or namespace name 'Android' does not exist in the namespace...

View Article
Browsing all 77050 articles
Browse latest View live


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