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

How to pass ConverterParameter to a binding, when using SetBinding in code.

When using ValueConverters in bindings, you can pass arguments to them from the binding like this using XAML: (Excerpt from Xamarin tutorial) <Label Text="{Binding Color.R, Converter={StaticResource...

View Article


Open new Page

This is probably a really easy answer, but how do I open up a ContentPage from an existing ContentPage (from button click event) without using NavigationPage?

View Article


how to move layout up when softkeyboard shown?

Hi All, I am working on one project, where I had an issue. The issue is when I tap on entry control the softkeyboard hides the bottom content, I need it in the way when I focus 2nd entry from bottom,...

View Article

XamlSamples doesn't compile w/Xamarin Studio & iOS

When I attempt to compile XamlSamples I get the following compiler error: AppDelegate.cs(20,37): error CS0234: The type or namespace name `App' does not exist in the namespace `XamlSamples'. Are you...

View Article

Background Tasks

In my application I have a Socket Connection to a server, in Android this is running in a Android.App.Service, this works as it should even when the app is minimized/suspended. I am no working on the...

View Article


I am unable to call a webservice hosted on my local network.

Attached is my debug summary. I used the following code to call the webservice. I used HttpClient with async task to consume the service on xamarin.forms, but got no success. I tried the same code in a...

View Article

sorted listview

I have a list view that is binded to an observablecollection. Is there something like a collectionviewsource to do the sorting or do I have to do I everytime I add an item.

View Article

Disable scroll in ListView

Hi! Is it possible to disable scrolling in a ListView if you have only a few items? Thanks // Johan

View Article


Busy indicator is not visible while loading the page first time.

Hi all, I have added pull to refresh in my app. The busy indicator is not visible when I enter in the page (while loading the page) which contains pull to refresh for windows. Does anyone know, how...

View Article


TabbedPage bug?

Is this a bug or I should use it in another way? public class MyQuestionsPage : ContentPage { public MyQuestionsPage() { Title = "My Questions"; Icon = "TabBar-Icon-MyQuestions"; } } public static Page...

View Article

How to find the image that is not found on iOS

Hi all, I get this error: System.Exception: Could not initialize an instance of the type 'MonoTouch.UIKit.UIImage': the native 'initWithContentsOfFile:' method returned nil. It is possible to ignore...

View Article

Master Detail Layout - Detail Positioning

I am using the master Detail Layout in Forms and have it implemented, looks pretty good, but noticed a behavior, not sure if there is a defect associated with it or if I missed a switch or something So...

View Article

Image may be NSFW.
Clik here to view.

Xamarin.Forms Bluetooth Samples Broken - References not found?

I have just tried to download the Heart Rate Monitor Example, but the 'Robotics.mobile.core' reference in the PCL is greyed out and raises an error. Please see the image below. I also get this message...

View Article


RowHeight of a grouped list

Hi, in my application I cannot use the RowHeight Property of a grouped list. It is always -1. My Code in which I needed the Property is: this.<ListView>.HeightRequest = (...

View Article

How to profile application

Is it possible to measure memory and CPU usage in the Xamarin.Forms app for the different platforms (iOS, Android, Windows Phone)?

View Article


Example of binding with a path more than one level deep?

Can someone provide an example of how to define a binding in code for a path that is more than one level deep? For example consider this //directly setting works Title = model.Person.FirstName...

View Article

Xamarin Forms and Geofence

Is Xamarin Forms supports Geofence for iOS and Android ??

View Article


listView ViewCell not adjusting it's size to content on iOS

I have a custom ViewCell that i use to populate a listView. It works like a charm on android, on iOS however i'm having issues. The cell has a Horizontal stackLayout with a box and a 2nd stackLayout,...

View Article

Can data binding to a list of dictionary?

Say I have data like this: So this is a list of lists of dictionary that have name and age, in xamarin.form I create a list view which itemsource is the whole thing, so each cell has itemsource like: {...

View Article

WindowsRT Load Local Html File

Guys, I am able to load up a remote html file just fine in my Webview by setting the Source to the Url. But is there a way to load point a local html file to the source somehow?

View Article
Browsing all 91519 articles
Browse latest View live


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