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

TabbedPage and AutomationProperties

Talkback (Android) and JAWS (UWP) are not able to read the tab texts. I've tried assigning AutomationId and AutomationProperties.Name to the page Icon property w/o success. Does anyone have an example...

View Article


Development platform hangs very often

My development environment is visual studio community 2017 running on Windows 7, on a "healthy" machine. All updates have been applied to both windows and visual studio. I am developing Xamarin forms...

View Article


Problems with iOS Assets.Casset causing VS to crash

Hi All, I am trying to add all relevant icons into the AppIcon section of Assets.Casset but it's proving rather difficult as I can't scroll down the page or us the bar to get down the page. What makes...

View Article

How can I add context actions to an iOS ListView only?

The code below crashed on Android. Any suggestions? <ViewCell> <ViewCell.ContextActions> <OnPlatform x:TypeArguments="MenuItem"> <On Platform="iOS"> <MenuItem Text="Delete"...

View Article

Xamarin forms ListView behaves weird on iOS

Hi I'm working on a bigger project and have a problem with xamarin.forms listview with custom view cell on iOS. I have an object that belongs to a certain group. This object can have up to 10 "friend"...

View Article


Problem with XamarinGoogleMaps

Hi, i've a problem with googlemaps for xamarin. Where is the problem?

View Article

WebView Zoom

Hi there, How can I enable pinch-and-zoom inside a WebView in Xamarin.Forms? It was easy enough using UIWebView in iOS. Thanks. Mike

View Article

Is there a way to dismiss Page.DisplayAlert() on background xamarin.forms app?

In regular android you'd save off the dialog and close it on home button pressing. But you're not given a dialog object you can dismiss in Forms. Is there some mechanism to close the dialog after the...

View Article


How can I fit scale of a non-responsible web page in WebView on Android and...

Hello, everyone! I want to fit scale of a non-responsible web page loaded in WebView on Android and iOS platforms both. To do it I created CustomWebView class inherited from the WebView. Also I created...

View Article


The name 'InitializeComponent' does not exist in the current context

This is really strange and inconsistent. Sometimes it runs fine and sometimes I get the following error 'The name 'InitializeComponent' does not exist in the current context' There is absolutely no...

View Article

How to bind image's ImageSource in a listview

I have an ObservableCollection of an object with various properties, including one of type ImageSource, which will display an image. Then, I have a listView with it's itemSource binded to that...

View Article

How to find the child controls from StackLayout dynamically ?

I am using Xamarin.Forms (PCL project). I have created the stacklayout with some child controls. How can I get any control from this stacklayout dynamically (like findbyName , findbyID or Type) ?

View Article

Image may be NSFW.
Clik here to view.

Problem with CustomRender Entrys

Hello Guys! i`m new to Xamarin and I tryed to implement the Tutorial Class about the Custom Entrys from the Xamarin Site. But when I try to start my project i get this Exception. I really have no clue...

View Article


How to run Javascript Code in my HTML doc with HybridWebView?

Hey, I'm trying to implent the Google Places Javascript API in Xamarin Forms (specifically the Autocomplete function) with XLabs.Forms.Controls.HybridWebView but the Javascript inside my HTML file wont...

View Article

Set orientation of single page to landscape for ios

Hello, I have implemented single page rotation to landscape in android using OnWindowVisibilityChanged method in renderer for specific page. But I couldn't figure it out for ios. My code for iOS...

View Article


How to find the cause of: Xamarin.Forms targets have been imported multiple...

I'm working my way thru the book "Creating Mobile Apps with Xamarin Forms" and a lot of the sample code requires some work to get it running, which is all very educational and helps me learn and...

View Article

XAML Master Detail in MVVM Light example

Are there any examples of a master detail navigation using XAML and MVVM Light? Currently im looking at Hanselman.Forms and this guide But they aren't using XAML for the master detail page.

View Article


Import existing .NET project in Xamarin.Forms project

Hi, I want to use an application written in .NET 4.0 as a service for an Android. Let's call the existing application "MyExistingProject". My .NET application is in a project and I tried to import this...

View Article

MVVM - Performing an action in ViewModel from page OnAppearing

I've got a full MVVM implementation which is working nicely, for a project which communicates with BLE devices. My problem is that I want to delay connecting to the device until the Page is appearing,...

View Article

Entry cell loses focus on button press in android but not iOS , work around?

I have some code in iOS where I have buttons that act like a calculator keyboard when pressed on it fills a entry field that is focused. Works great for iOS but on android the button press even causes...

View Article
Browsing all 89864 articles
Browse latest View live