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

ImageSource to Stream

Hey guys, I am trying to persist a user photo by converting it to a byte array. The initial placeholder image is loaded using xaml and static resources. The holdup is, that ImageSource is a XF Element...

View Article


iOS images in Xamarin Forms

So I have an image with 3 different resolutions: camera.png camera@2x.png camera@3x.png All with a build action of "Bundle Resource". If I do ImageSource.FromFile("camera.png"); it always retrieves the...

View Article


c.Delegate = null; crashes App on iOS < 8

Hey guys, I am using Xamarin Forms to develop an App as part of my master thesis. Now I got stuck with an iPhone 4 and iOS 7.1. With iOS 8 and 8.4 @ iPhone 6 everything works like a charm. Also on the...

View Article

Get BindingContext of cell in a ListView

I'm converting a C# layout to XAML. The layout displays a list of Contacts that each have an Id, a PhoneNumber, and a Name property. I have a method CallContact that accepts a Contact as a parameter....

View Article

Image As Background

Hello, I am working with Xamarin Forms and would like to use an image as the background for some pages. I have several Views and Layouts on different pages, and would like to overlay them onto a...

View Article


Is Xamarin Forms ready for production?

Hi, I would like to know whether Xamarin Forms is ready for real-world development? We are planning to develop a cross-platform application, whose major part is data-entry and uses negligible platform...

View Article

Nested StackLayout does not render completely within a DataTemplate.

I have observed that a nested StackLayout does not render completely within a DataTemplate. Specifically, only name, labor, and LaborCost gets rendered. All other values are ignored. <ListView...

View Article

How to initialize Entry.Text after it is rendered and shown on screen.

I'd like to initialize an Entry with a text value but only after it is fully rendered. The reason is, if the Text property is initialized before rendering, the Entry grows (its Width increases) for...

View Article


MultiBinding support

Does Xamarin.Forms have any sort of MultiBinding support? If not, how might one go about applying the following. IsVisible="{Binding AltFileLocation.IsVoiceLoading, Converter={StaticResource...

View Article


Unable to use a grid within a DataTemplate

I am unable to use a grid within a DataTemplate. Specifically, text does not get rendered when using a grid. <ListView ItemsSource="{Binding Services}"> <ListView.ItemTemplate>...

View Article

Issue with zxing after 1.4.4 update

Before the update my app was working fine, but after updating to xamarin 1.4.4 I'm getting this error /Users/J********/Desktop/MyApp/iOS/MTOUCH: Error MT2002: Failed to resolve assembly: 'zxing.ios,...

View Article

Setting button's IsEnabled to false does not disable button

I have observed that when setting a button's IsEnabled property to false, the button continues to be enabled. This button is located at the bottom of the grid. I do not observe this behavior in other...

View Article

Xamarin iOS Build App

I'm connected from network MacMini to compile XamarinForms application in iOS. In MacMini i have installed XamarinPlatform. I not locate (in the Mac) the required application to connect VisualStudio...

View Article


Image may be NSFW.
Clik here to view.

Error creating new Forms project in VS 2013 and Xamarin Studio

Hopefully someone can tell me what I am missing here. I get the following error when I try to create a new Xamarin Forms (Portable) project: "Specified argument was out of the range of valid values....

View Article

Display a PDF in a WebView

I've got a pdf file stored locally on the device (or simulator). Should I be able to display that file using a WebView? I've added a WebView in my xaml and set the source to the path and file of the...

View Article


How to intercept Navigation Bar Back Button Clicked in Xamarin Forms?

I have a xamarin forms page where the user can update some data in a form. I need to intercept the Navigation Bar Back Button Clicked to warn the user if some data have not been saved.How to do it? I'm...

View Article

Detect visibility of item on ListView

I'm trying to detect when a ViewCell in a ListView is fully visible on screen, so I can do an action. Imagine something like what Vine or Facebook does that when you scroll up and down, the videos are...

View Article


Can I do effects/animations in Xamarin.Forms XAML?

Title says it all.. googling, I found nothing. Is this possible or planned? Thanks

View Article

Scrollable text within ViewCell

I have a multiline text field which sometimes needs to be editable and sometimes not. The whole thing is placed inside a TableView. I started with a simple ViewCell with an Editor in it. On iOS this...

View Article

Arranging StackLayouts under each other forming a grid 3x2

I'm still new to Xamarin and I want some help. In my project, there is an image as a logo of the company which is the first thing the user sees and it is centered. Below it directly I want to add 6...

View Article
Browsing all 81910 articles
Browse latest View live


Latest Images

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