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

Convert Image XAML to C#

Hello, I have XAML below and want to render it in code-behind. The part I don't know is how to assign GestureRecognizers with Command to the Image object. <Image Source="photo.png" >...

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


Is there a way to speed up XAML Page loading?

I'm writing a Xamarin Forms solution for Android and iOS. The application uses a Master-Detail menu where each menu item is a page to navigate to, very simple. My problems is that when tapping on a...

View Article

Image Corruption With Caching on Xamarin.Forms Android

Here is my source code. https://gist.github.com/NVentimiglia/2285c8ea452dbe2d4714 In short, when I cache an image, it becomes corrupted (mono-color) Here is a ContentView which includes a spinner and a...

View Article

SQLite net with linq

Hi, I want to create simple login page. To do that I nead to create simple query to database, to get login and password. Login is unique. My query looks like this: var query = (from s in...

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

HybridWebView in Windows App

I am trying to use the XLabs HybridWebView and in my Windows App Im trying to set the IOC, `private void SetIoc() { var resolverContainer = new SimpleContainer();...

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

How to implement animated back button in masterpage

@adamkemp Hi adam can you help me with this, Generally the masterpage menu shows hamburger image. when menu is popped out then it turns into left-arrow automatically with animation effect. default i...

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

GridView

Hi, Is there a GridView available with xamarin forms? I need a gridview that supports multi-select action.

View Article


Displaying Placeholder text on a DatePicker - Can't get this to work

I followed the renderer here: https://forums.xamarin.com/discussion/35792/crash-in-custom-renderer-on-ios However, the text is never displayed and the datepicker always shows todays date when...

View Article

Has anybody solved running on Windows 10 release?

My app runs happily on Windows 8.1 and on a preview build of Windows 10, but on the release build of Windows 10, the XF Application constructor throws the following exception. Has anybody else...

View Article


Xamarin.Forms and Windows phone Panorama Control ?

I'm a newbie and I want to work with Xamarin to target windows phone platform firstly then iOS and android ( later ). I'd like to know if it's possible and how to devevelop a UI with Xamarin.Forms...

View Article

Image not appearing in a StackLayout inside a StackLayout

Ok this one has me stumped. I have a ScrollView with the content being a StackLayout called TabLayout. In code I'm adding another StackLayout as a child to TabLayout and this StackLayout contains an...

View Article

Get device location in PCL

Hi guys, can anyone explain me how to get device location from PCL project in Forms? I can't find on the Internet any tutorial how to do this. I just want to create an page in PCL and in code behind to...

View Article
Browsing all 91519 articles
Browse latest View live


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