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

Display a PDF in a WebView

I've got a pdf file stored locally on the device (or simulator). Should I be able to display that file using a WebView? I've added a WebView in my xaml and set the source to the path and file of the...

View Article


Showing the Camera in Xamarin Forms on a ContentPage

I'm currently working on an app where we want to have the camera show on the main page and have some UI controls at the bottom and via a button there you can take a picture. It is working on iOS via a...

View Article


Add event binding to SwitchCell on a ListView

So, I'm using the ListView with a SwitchCell, and I need to capture this event: Xamarin.Forms.SwitchCell.OnChanged Event Which basically tells me when the value of the switch has changed in the...

View Article

Error using Xamarin.Mobile for geolocation in iOS, Geolocator constructor...

Hi, I'm stuck with an error when using Xamarin.Geolocation (component : Xamarin.Mobile) for the iOS project. I used the code sample provided with the component here . It worked perfectly for Android....

View Article

Has anyone made a Picker with bindable items?

Has anyone extended the Picker control to expose a Bindable property ItemSource that when set, goes and adds the items to the Items property? Is it that simple or am I being naive? Has anyone managed...

View Article


Image may be NSFW.
Clik here to view.

Android app crashes after upgrading to Xamarin.Forms 1.3.1

After upgrading the project to XF 1.3.1 the app android app crashes on start up (the iOS app does as well, but I will make a new thread for that). So it took me a long time to actually get the app to...

View Article

Xamarin Forms Maps crashing without any warning

Hello, I developed a multi-page xamarin forms application (PCL), and I'm debugging it on a Nexus 5. After some nested pages in a menu I must load a page with a map. For a first try I tried the code in...

View Article

Image may be NSFW.
Clik here to view.

How to make .Forms stable…?

Unfortunately, I don’t think (but hope) that this posting will change things, but I have to write it (the hope dies last). Today (2015-05-19), I personally have 25 filled bugs in Bugzilla 11 of the 25...

View Article


Unable to add nuget packages in Xamarin.Forms project

I keep getting this error when I try to install a package in Xamarin.Forms project. Install-Package : The type initializer for 'NuGet.EnvironmentUtility' threw an exception. I had a similar issue...

View Article


How to intercept Navigation Bar Back Button Clicked in Xamarin Forms?

I have a xamarin forms page where the user can update some data in a form. I need to intercept the Navigation Bar Back Button Clicked to warn the user if some data have not been saved.How to do it? I'm...

View Article

Detect visibility of item on ListView

I'm trying to detect when a ViewCell in a ListView is fully visible on screen, so I can do an action. Imagine something like what Vine or Facebook does that when you scroll up and down, the videos are...

View Article

Can I do effects/animations in Xamarin.Forms XAML?

Title says it all.. googling, I found nothing. Is this possible or planned? Thanks

View Article

Scrollable text within ViewCell

I have a multiline text field which sometimes needs to be editable and sometimes not. The whole thing is placed inside a TableView. I started with a simple ViewCell with an Editor in it. On iOS this...

View Article


Arranging StackLayouts under each other forming a grid 3x2

I'm still new to Xamarin and I want some help. In my project, there is an image as a logo of the company which is the first thing the user sees and it is centered. Below it directly I want to add 6...

View Article

XAML - setting a constructor parameter

Hey everyone, I have a custom label CustomLabel. It may not have a default constructor, a parameter has to be specified (CustomLabel(string parameter)). How would one add a constructor parameter when...

View Article


XAML Namespace http://schemas.microsoft.com/winfx/2009/xaml is not resolved.

HI Now i am Creating a New Windows Phone App using Xamarin in VS2013. If I add the Shared Code and I am getting Error like this. "XAML Namespace http://schemas.microsoft.com/winfx/2009/xaml is not...

View Article

Problem with @(Content) in Visual Studio with Xamarin

Hi! I have a problem.I created a solution (mobile apps) and when execute, I get the following warning : Warning XA0101: @(Content) build action is not supported (XA0101). and then the android emulator...

View Article


How to change user input from 0123 to 01:23

Hello everyone. I have some entrys in a xaml file with numeric keyboards and I want to make some kind of validation check and change for the input. So if someone types in 0122, afterwards it should...

View Article

Symbol icons

Hi, is there any symbol icons in xamarin forms like the one Microsoft has for save, settings, favorite star, delete and things like that? Thanks

View Article

Confused about Xamarin.Forms.Portable

After I created a solution using Xamarin.Forms.Portable, I don't see any XML files for me to change. I thought the concept of using this project was to allow me to modify one single UI and it will...

View Article
Browsing all 75885 articles
Browse latest View live


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