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

How to do two way binding in code behind/in C#?

I have a stepper control and I initializes it with value 5 in my viewmodel and here is the binding Stepper stepper = new Stepper { Increment = 1}; stepper.SetBinding(Stepper.ValueProperty. new...

View Article


NullReferenceException: Xamarin.Forms.NavigationPage.GetHasNavigationBar

I have an existing "Xamarin.Forms PCL" project that runs fine on the Windows Phone 8.1 emulator, but will not start correctly with the "iPhone 4S iOS 7.0" emulator and throws a NullReferenceException...

View Article


Xamarin.forms android listviewrenderer

I want to use a onscroll-listener for listview, as far i know this isn't buildin in xamarin.forms.ListView. So using a renderer is logic solution till I saw Xamarin.Forms.Android doesn't have a...

View Article

Exception while clearing Listview selectedItem in 1.2.3 pre 3

Hi, Today I upgraded from 1.2.2 pre to 1.2.3 pre 3. I had below code to clear the selected ListView item in my MasterPage. listView.ClearValue(ListView.SelectedItemProperty); Though above line won't...

View Article

Updating ObservableCollection from async task crashes app. Bug or are we...

Hi We are currently building a Xamarin Forms application but have encountered a problem. It is sometimes crashing (in Android) whenever an ObservableCollection is updated from an async task. We do some...

View Article


ImageCell with image on the right

Is it possible for me to put the image in an image cell on the right, rather than the left?

View Article

ListView Images Disappear

I have a ListView with around 10-15 items in it. Each item has an image. When viewing the list on an iphone you can only see around 4-5 rows at a time. When I scroll down the list, the rows that move...

View Article

Tap Events

Hi Guys, I have an issue with TapGestureRecogniser in a shared project... basically from the examples ive seem there is a .Tapped event. however in the latest version/update i dont seem to have that?...

View Article


Does Xamarin.mac support browser view

hi, I have a trial version of xamarin.mac and want to open web pages and web documents through its GUI.So does Xamarin.mac have this feature? Thank you in advance.

View Article


Asynchronously getting values from a navigation page

I have ContentPage X, under a NavigationPage, with some form data to be filled out. I'd like to have a button which pushes a new page B onto the stack (easy) and then takes the data entered into B and...

View Article

NavigationPage on iOS: Strange behavior when popping page

I installed the new pre4 version and compiled my app. Now I have a strange behavior with popping a page (was although in pre3). Normally I save the pushed page always in a global variable, when pushing...

View Article

Extending RelativeLayout for Pinch Zoom

I would like to implement pinch zoom on a relative layout. This implementation shows a solution for pinch zoom: https://github.com/RobGibbens/XamarinFormsGestureRecognizers But when I tried to...

View Article

Change Text Colour for TableSection & Editor

Does anyone know how to change the text colour for TableSection & Editor? I've been able to do all the other controls using standard XF and renderers but these I can't work out.

View Article


KeyboardFlags.CapitalizeSentence Syntax?

Hi All, I'm trying to get KeyboardFlags.CapitalizeSentence working, and I'm having some trouble. Has anyone successfully implemented this? My code currently looks like this, and does not work (on...

View Article

Xamarin.Forms DatePicker and Picker controls not rendering in viewable area...

I upgraded XCode and Xamarin installations to iOS 8 earlier this week. Now in the iOS emulators for iPhone 4s, 5, and 5s the date picker and picker controls are rendered at the very bottom of the...

View Article


Xamarin Forms MasterDetailPage issue with Master page

I am using the Xamarin form with MasterDetailPage base class But I am not able to get the master page .. Detail page is coming but master menu is not displaying .. Please check the code below. Do i...

View Article

Possible to share xaml snippets between pages?

Hi - is there any way to create a xaml snippet and use that snippet on several pages? Sort of an "include" method or something similar? Anybody found a way of doing this? Thanks,

View Article


Navigation without a stack

Hi all, The app I am doing doesn't have a concept of "going back" in the flow of pages. It's a quiz game app, you start the game, go through ~30 pages and can then choose to start over again or go back...

View Article

Xamarin.Forms.Labs MediaPicker causing exception on Android

I am using Xamarin.Forms.Labs.Services.Media.IMediaPicker.TakePhotoAsync() to capture a photo on Android. The actual capture works fine, but at some point after the fact the following exception occurs....

View Article

Disable Toolbar Button

Hi All Is there any way to disable a toolbar button? I read a thread about CanExecute not correctly disabling yet - has this been fixed? If not is there any other way to disable? Cheers Steve

View Article
Browsing all 58056 articles
Browse latest View live


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