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

Image may be NSFW.
Clik here to view.

What is the preferred way to catch all unhandled exceptions on Xamarin Forms?

Do they need to be caught at each application level or can we use a PCL event? Any samples would be great.

View Article


How to launch a Forms PCL solution in Xamarin Studio with the VS emulator for...

I have the VS emulator for Android installed. In a shared Xamarin Forms solution, in Xamarin Studio, there is a menu item "Run With" where I can launch the solution with the VS emulator. But in a PCL...

View Article


How do i render the contents of a xamarin forms (portable) control in custom...

This is my code so far (Works, but I can’t figure out the missing bit): Shared project: using System; using Xamarin.Forms; namespace Solvum.SiteTracker.Mobile.XamarinForms.Framework.Controls { public...

View Article

RESX Localization using a Shared Project (not PCL)

This article only covers how to do localization with a Core library of type PCL, I however, am using the Shared project type as the Core library, and it does not support .resx files, only .resw files....

View Article

Is it possible to disable all input?

Hello. I'd like to be able to temporarily disable all input on either a page or for the entire application to prevent the user from clicking anything during certain animations. Is it possible to do...

View Article


PushModalAsync followed by PushAsync crashes.

Hello everybody, First of all, I just want to let you know that I am an IT student that just started to use xamarin and I already love it. However, while i was following this tutorial...

View Article

how to navigate between pages using mvvm - doing it on viewmodel

I have a xaml called category and in the listview, I display list of categories. When i select a category in the list I want this to navigate to details xaml by using category Id. is it possible using...

View Article

Image may be NSFW.
Clik here to view.

Bug with FormsAppCompatActivity and MasterDetailPage on Android 5.1

On android 5.1 detail page have strange padding on top.

View Article


Announcing the "Xamarin.Forms Kickstarter" guide

Dear Xamarin.Forms community! My team and I are working on a kickstarter guide for Xamarin.Forms. Our objective is to give an introduction to developers that might be new to the field of cross-platform...

View Article


Spannable string with custom renderer

Hello. I have problem and I can't understand what is wrong. 1. I have MyButton : Xamarin.Forms.Button 2. I have custom renderer: protected override void...

View Article

Image may be NSFW.
Clik here to view.

Toolbar area stays visible when navigating to a page without toolbaritems...

Hi, I'm having some trouble with the toolbar on WinPhone. When navigating from one ContentPage with toolbaritems to another without toolbaritems, the second page shows a black area (where the toolbar...

View Article

Image may be NSFW.
Clik here to view.

How do you toggle between two views?

We have a ListView with two possible item layouts, how do we toggle between them? We tried using the IsVisible property, but when the 2nd StackLayout is invisible, it still allocates its height onto...

View Article

UI Debugging?

Is it possible to do UI debugging when using VS 2015? I guess on xamarin android player will not work for it. how about visual studio emulator?

View Article


iOS MPMoviePlayerViewController goes blank after a few seconds

I'm having a weird issue with MPMoviePlayerViewController. public override void ViewDidLoad() { base.ViewDidLoad(); var f = new...

View Article

Boolean Property and StreamImageSource result of converter not recieveing a...

Hey there, Me and the team decided to upgrade to Xamarin Forms 2.0 soon after it came out. We started seeing two problems that we have not been able to fix and no one else seems to have. Namely: 1) We...

View Article


Setting shadow on detail page in MasterDetailPage

I am trying to recreate this UI. Screenshot I'm using a MasterDetailPage. In the existing app the background of the master page and the detail page are white. To separate them, the detail page has a...

View Article

Searchbar = fullscreen in landscape on android, How do i prevent this?

I have a view that contains a listview with a searchbar in the listview header. When in landscape focusing the searchbar the search "field" desides to go fullscreen. Is there anyway a custom renderer...

View Article


Xamarin.Forms Windows Pre Release Error

Hi, I have many problems with the Picker and Webviews on Xamarin Windows Phone 8.1 so I have updated and tested all the pre-release versions to see if I can make the web view work as expected or the...

View Article

Setting Cookies in a WebView

I received a request this morning to share how I set cookies in a webview so here it is, hope it's helpful. It's worked for me so far but feel free to comment on it if it can be improved. First, you...

View Article

Visual Tree Helper

Hi, Is there an equivalent of WPF's VisualTreeHelper? I need to loop through all the visual elements of a page. Thank you

View Article
Browsing all 77050 articles
Browse latest View live


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