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

Issue after upgrading to 1.3.0

I am now getting this error on the first page that tries to load. I am totally stuck here, anyone know what else I need to change? this is after changing from the deprecated GetMainPage. "Member...

View Article


Issue after upgrading to 1.3.0

I am now getting this error on the first page that tries to load. I am totally stuck here, anyone know what else I need to change? this is after changing from the deprecated GetMainPage. "Member...

View Article


Forms blows up Insight?

I have a really simple page: public AccountsPage() { toolbarItem = new ToolbarItem("?", "accounts.png",async () => { await DisplayAlert("Hi", "Clicked me",null); }, 0, 0); When I add the...

View Article

Sizing visual elements seems....odd what am I getting wrong?

I have a fairly simple layout that consists of an outer grid and two stacklayouts. I use the outer grid so that my busy indicator can overlay the same content area. My expectation is for the green...

View Article

ListView - Custom ViewCell - get object from itemsource inside ViewCell

I have a ListView that has Custom ViewCells to display. I have a class Menu, that represents each row, and I set an List of Menu as ItemsSource of the Listview. As ItemTemplate I use MenuCell. The...

View Article


Is there a tool to scan an existing Visual studio solution to look for issues...

Is there a tool to scan an existing Visual studio solution to look for issues and do some conversion I have an existing winforms app that I want to convert to a Xamarin mobile project. Is there a tool...

View Article

Nested List

Hello my name is Yu Cheng Wong, I have a xaml listview with the ItemsSource to my list. I can access attributes like string and int with no problem but how can i Iterate over another Collection in my...

View Article

xamarin.forms in the font and controls the height , width, what units ? dp?

xamarin.forms in the font and controls the height , width, what units ? dp?

View Article


Publish Android App is disabled when select Use Shared Runtime

Hi all, Today I get a problem when trying to publish a project to apk file. If I check the Use Shared Runtime check box, the Publish Android App menu will be disabled. Then if I uncheck the check box,...

View Article


Putting a Frame into a ViewCell is a bad idea, at least on Android

I had a frame in a ViewCell for ListView on an Android (didn't test the others) and upon scrolling up and down for few seconds it would throw an exception. Is this a known issue?

View Article

How can I do TwoWay data binding with dependent properties?

I have a model class that has two properties Status and DateShipped. When Status is set to Shipped, I set DateShipped to today's date. When Status is set to something other than Shipped, I set...

View Article

ListView GestureRecognizer

I have a need to allow TapGestureRecognizer to fire when the user taps the ListView (This is not the ItemTapped event). If the user taps the background of the ListView I need to perform an action. The...

View Article

ListView on android has some bugs

ListView on android has some bugs,ViewCell with Image like this Image image = new Image() { WidthRequest = 80,HeightRequest = 80 }; image.Source = new FileImageSource() { File = "mango.png" }; When the...

View Article


ListView on android has some bugs

ListView on android has some bugs,ViewCell with Image like this Image image = new Image() { WidthRequest = 80,HeightRequest = 80 }; image.Source = new FileImageSource() { File = "mango.png" }; When the...

View Article

Image may be NSFW.
Clik here to view.

CenterAndExpand does not extend the background color of a StackLayout

I've been trying to center the contents of my StackLayout within my navigation page, but whenever I use the VerticalOptions = LayoutOptions.CenterAndExpand, the default background color manages to poke...

View Article


Is there a way to get top modal Page?

I can get NavigationPage.CurrentPage but somehow can't get top modal page from AndroidActivity. Is there a way? I'd need that for controlling OnBackPressed (on Android). Right now I am stacking...

View Article

BindingContext of Listview in ViewCells instead of the underlying Items?

I've created a ListView with a Binding to an Itemssource, as well as a DataTemplate with ViewCells to output values of the underlying items. But what's happening is that the ViewCell seems to have the...

View Article


Saving Images using Xamarin Forums

Hey Xamarin, I have been searching through the forums, there were some questions but no answers. How do I save an image using Xamarin Forums, is this feature enabled? async Task DoTakePhoto () {...

View Article

Access the UINavigationController

Hi, what is the easiest way to access the current UINavigationController? Should I implement a custom navigation renderer? I want to toggle the NavigationBar on/off, but the current impl is without...

View Article

Xamarin Forms - Tabbed page with back button.

Please can somebody advise how I can change the icon of the back button ? Ive been hunting around for an answer, however, I can't find a solid, clear answer from anywhere ! Im using Xamarin Forms and...

View Article
Browsing all 58056 articles
Browse latest View live


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