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

Entry validation

Is there a way to validate an Entry control in Xamarin.Forms that reflects the behavior seen in the EditText (Android) control when its Error property is set? Thanks in advance!

View Article


Page Inside a layout

Hey, In Xamarin.Forms, Layout takes views as children and page is of type VisualElemet so technically, you cannot put a page inside a layout (I understand that). However, is there a way to go around...

View Article


ExportRenderer contracts in PCL

If I create a control that is rendered differently between platforms using ExportRenderer, can I add a method that can then be overridden by the class marked for ExportRenderer? Example: Class inside...

View Article

win8 target for xamarin.forms?

Is there a plan to include windows 8 as a supported platform for xamarin.forms?

View Article

Forms iOS and NuGet HttpClient

I am using the portable HttpClient from NuGet in my PCL project. <package id="Microsoft.Net.Http" version="2.2.27-beta" targetFramework="portable-net45+win+wp80+MonoAndroid10+MonoTouch10" /> I...

View Article


Why does the `ItemSelected` method execute twice when touching a ListView item?

My ListView has the following handler attached. ((ListView)MediaList).ItemSelected += (sender, args) => TriggerMedia((MediaViewModel)args.SelectedItem); And when TriggerMedia() is run, it runs...

View Article

TabbedPage issue - does not look like the demos

I am currently attempting to work on my first Xamarin Forms app, and am really impressed with it. However, I am having an issue with the TabbedPage that is frustrating me. The attached screen shot is...

View Article

Forms template adds a lot of code

Starting to play with forms , Created a new project from the template and added zero line of code to it and click debug, got following error. How can I have 1992686 bytes of user code if even I have...

View Article


How to refresh the BindingContext of a page after a child page is popped off...

Hi all, I'm implementing an MVVM solution and for the requirements of the solution I need to share a portion of the view model on multiple screens. As I add new NavigationPages onto the stack, all the...

View Article


How to consume with SOAP web-services

I have a silverlight application, SOAP web-services worked well,but when I add it in PCL project,the result of callback returns null.

View Article

Regarding internal components in Xamarin.Forms

Many of us have suffered from the inflexibility of Xamarin.Forms. As a temporary (yet evil) solution, we are using Mono.Cecil to modify the Xamarin.Forms assemblies to expose these hidden components. A...

View Article

Image may be NSFW.
Clik here to view.

UI on Android, overdraw area

Hello, I am discovering Xamarin and a question just popped up in my head: how is it possible to manage correctly the UI done in XAML with Xamarin.Forms in order to optimize the overdraw areas? We...

View Article

How to set different height for GroupHeaderTemplate and ItemTemplate?

I want to set variable height for my list both header as well as items in the list. I have set HasUnevenRows = true, but when I set a value for RowHeight that value sets the height for both GroupHeader...

View Article


Device ID / UUID

Is there a method to easily retrieve the unique id of the device? Or do we need to manually handle each platform?

View Article

Image may be NSFW.
Clik here to view.

ListView row height

Hi everybody, I want to use ListView in my app, and on every row i need picture on the left, and title + text on the right next to the picture, aligned to center. I have basic template done (below),...

View Article


MessagingCenter

I am fairly new to Xamarin and Xamarin.Forms. I am currently trying to use the MessagingCenter to pass a object between my ViewModels. It was working earlier but doesn't now. When I Try to debug it...

View Article

Can I develop Forms for iOS on a Windows Xamarin Studio 5.1 installation?

Hello, We have always programmed on Xamarin Studio on a Mac, where we opened the Storyboard with XCode. Now we are planning on a Xamarin Forms application for iOS and Android. We see that, even with...

View Article


Xamarin.Forms 1.1.1 Released!

Xamarin.Forms 1.1.1 Released! 1.1.1 is a bug-fix release. There are few features in Xamarin.Forms 1.1.1 over 1.1.0. As always we welcome all and any bug reports both here or in their own thread....

View Article

ContainerFromItem equivalent

Hi all, I'm trying to get the view object in a listview from my viewmodel object. In WPF I think it's something like: _listView.ItemContainerGenerator.ContainerFromItem(selectedItem) How can I do that...

View Article

TableView in Xaml

Does anyone have a link to or some basic sample code for a TableView in xaml. Thanks.

View Article
Browsing all 58056 articles
Browse latest View live