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

Custom renderer for Picker

Hi, I'm really new to Xamarin and Xamarin Forms as well, so maybe it's a stupid question: I'm trying to implement my own renderer for Xamarin.Forms.Picker, I'm starting from Custom renderers example. I...

View Article


BindableProperty of ImageSource type raises PropertyChanged twice in custom...

In custom views, when using ImageSource bindable properties, the PropertyChanged is raised twice! It can lead to major performance issues in custom controls using images. Output: !!! HomeViewModel...

View Article


Image may be NSFW.
Clik here to view.

Define the "click area" of ActionBar in MasterDetailPage

I've implemented MasterDetailPage in a project and ran into an issue quickly. As shown in the screenshot below, the master page hides and shows itself when I touched within the red border area, instead...

View Article

How to get Azure Mobile Services SQLiteStore working on Windows Phone using...

My app is happily using both "Azure Mobile Services SQLiteStore" and "Windows Azure Mobile Services" in the Android and iOS builds. However, I have wasted rather a lot of hours trying to get the same...

View Article

My BindableProperty on custom control is called twice every time in my...

Hi folks, I have a BindableProperty in a custom control like so: public static readonly BindableProperty ShowIndeterminateProperty = BindableProperty.Create<CoreProgress, bool>( p =>...

View Article


How to use tabbed page to switch among child pages

I have a Forms application with three pages. I'd like to use a tabbed page to switch among the three so that you can access them in any order. The samples seem to show swapping different data into the...

View Article

Will it be possible to have UWP core libraries mixed with native...

I am just getting started with Xamarin (started my evaluation today). I'm trying to wrap my head around the different options for creating a cross-platform solution, particularly with UWP in the mix....

View Article

PCL or Shared?

Hello, I am new to Xamarin and think I finally have some of the basics down. However, I'm completely new to the Shared vs PCL concepts. I'd like some advice on which route I should go. My project is an...

View Article


how to insert rows into sqllite only once?

I have a table called language with Id, Name and flag etc. This table should be inserted rows only once and later will be static. Question is first of all, - does it make sense or better to have it on...

View Article


Redraw listview viewcell because of dynamic update

Hey, I have implemented a 'dynamic' update as part of my listview viewcell. When a property in the underlying viewmodel changes, I set the View of the viewcell to a different grid than the one that was...

View Article

Proper way to abort animation

My home screen has an animation. On Android, if I press the Back button and kill the app and open it again, it will crash. I noticed that this is due to my animation. To fix this, I handled...

View Article

Image may be NSFW.
Clik here to view.

Programmatically switch between Tabs in a TabbedPage

Title says it all Is there a way to programmatically switch between Tabs in a TabbedPage.

View Article

Multiselect ListViews

I am new to Xamarin Forms and was wondering if we could build Multiselect Listviews using Xamarin Forms. Any help would be appreciated.

View Article


Validate the Phone number entry to 10 digits in Xamarin forms

Hi there, I need a phone number validation which restrict the user to enter 10 digits, If it is exceeds 10 digits, it should provide alert saying the phone number is invalid. Can anyone sample code to...

View Article

ListView Renderers

Hi everyone, I've made a sample App to test Xamarin.Forms ListView renderers because i've got some updating issues in a "production app" and i noticed something weird with bindings. I'm using...

View Article


I want to refresh my ListView on Button Click. Please help. :)

Error: 'xamarin.forms.ListView' does not contain definition for 'IsRefreshing' 'xamarin.forms.ListView' does not contain definition for 'IsPullToRefreshEnabled'

View Article

How to create ListView Long click in android xamarin

Hi, I have working on Long click on ListView Cell. In IOS i have create Renderer and inherit from ViewCellRenderer and create long click functionality using below code. public override UITableViewCell...

View Article


Image may be NSFW.
Clik here to view.

Behavior issue

Good aftnernoon ladies and gents. My situation is as followed: - Portable project with a Custom Behavior in it. - Regular Xamarin project which has a reference to the Portable project in the Shared...

View Article

How to remove the BackgroundImage of a Page ?

Hi, I want to conditionally set the Background Image of the page... I am facing a problem where, once i set the background image to a page, i cannot remove it.. i can only change it.. please advice how...

View Article

Xamarin Forms 1.3 Behavior Binding Bug

I have been playing with the new Bahavior class in 1.3 and discovered a bug when using Binding on a BindableProperty. I created the following behavior to allow an ItemsSource and an ItemTemplate to be...

View Article
Browsing all 75885 articles
Browse latest View live


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