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

Image may be NSFW.
Clik here to view.

Look what I made over last weekend, SliderView!!!!

Hey Forms Community! I was hacking around last weekend to make some kind of SliderView that I could use instead of a CarouselPage. I wanted to share this with the community in the hopes that it will...

View Article


How to cancel or handle the back button press on Navigation Bar on iOS/Android

This is such a frustrating experience probably due to either my stupidity or someone's stupidity. The OnBackButtonPressed won't be called at all. And I tried to handle the Popup event of navigation, to...

View Article


Size of Screen in a Custom Renderer

Hello, I might ask a pretty easy question but I have been trying to get the size of the Screen in a custom renderer to change the size of a Button accordingly. I might be doing something wrong, but...

View Article

WebView snapshot or disable interactivity

Hi All, I've got a requirement (think browser tabs) to take a snapshot/image/etc of a WebView -or- display the WebView but make it so that it can't be interacted with. To be honest, I'm at a bit of a...

View Article

Detecting tap on different controls inside a listview cell

Two questions: In Xamarin.Forms, I have a listview. Each item is a ViewCell containing button, labels, images etc. First, I want to detect tap on each item inside a ViewCell. Meaning tap on label, tap...

View Article


XAML Binding and Attached Properties (AbsoluteLayout in my case)

In XAML only I can't get this binding to work (the layout bounds don't get updated when the source property changes): <BoxView x:Name="leftCropBox" LayoutBounds="{Binding LeftCropBox, Mode=OneWay}"...

View Article

Is it possible to put a WebView into a ListView and have the WebView expand...

I'm trying to put together a list of social status updates where the updates are composed of snippets of html with image tags etc. Currently I have a ViewCell that builds this and included the...

View Article

Using maps in Windows Phone 8.1

As I read here maps are not currently supported in Windows 8.1 or Windows Phone 8.1 projects. If not possible by using Xamarin.Forms.Maps, is there any other way to do it? Does anybody has some sample...

View Article


Disabled button style

I'm using MVVM approach described here. To control a button behaviour I use ICommand binding with CanExecute flag. Everything works. But how can I control disabled button style (background color and...

View Article


Update layout after image change

Hi I have extended the Image class and wrote a custom renderer for it. All it does is to create an empty image and then download on the background some other stuff. When it's ready, the image gets...

View Article

Background location updates in Xamarin.Forms. How to?

Anyone has a tutorial or some documentation to get started on this topic? I've read and downloaded the BackgroundLocationDemo that has both ios and android projects mentioned in the Xamarin...

View Article

Setting StyleId (for UI testing) on DisplayAlert?

Is it possible to set the automation id's for popup alerts so they are testable from automated UI tests?

View Article

System.Runtime reference in Visual Studio ?

Hi guys, I'm using Visual Studio 2015 and the newest Version of Xamarin-Android and Xamarin-Forms. I always get the following error messages like on the picture that I have attached to this post. And...

View Article


Change scrollbar color of listview

Hi, is there a way to change the color of the scrollbar of the listview. I have a page with background color that about the same as the scrollbar, so the scrollbar is not even visible when scrolling....

View Article

Width of a picker

Hi, I am trying to set the width of a picker with the HorizontalOptions property to CenterAndExpand or FillAndExpand but the width of the picker is the width of the tittle text. For example, my picker...

View Article


How to open one mobile app from another mobile app in Xamarin Forms ?

How to open one mobile app from another mobile app in Xamarin Forms ?

View Article

Xamarin Forms ImageSource to Base 64 String

Hi I need to submit a image to the back-end as a base 64 string. How can I convert my ImageSource into a 64 string ?

View Article


App slows down over the period on Android (Memory leak?) How to fix it

Hi there, We are building one app with two screens and master detail page Categories in Master Detail page – We have 6 categories in hamburger menu.. Clicking on each category will show below page List...

View Article

Xaml Page Not Laoding

Why when am loading xaml page using following line of code it shows error System.collection.Generic.KeyNotFoundException this.LoadFromXaml (typeof(MyXamlPage));

View Article

StackOverflowError on Android

The same application works fine on Windows Phone, but throws error on Android. Stack overflow on call to interp (req=68 top=0x56c51000 cur=0x56c4d33c size=16384 Ljava/lang/ref/FinalizerReference;.add)...

View Article
Browsing all 75885 articles
Browse latest View live


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