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

Fire event for ObservableCollection Item change

I have a ListView bound to a ObservableCollection which is made up of objects which inherits from INotifyPropertyChanged. In my ListView cells I have a label and slider, you slide the slider and it...

View Article


ListView default scroll amount

Hey guys fairly new guy here, so take it easy on me. Using Xamarin.Forms, running on an iPad. Have a MasterDetailPage with a ListView in the master part. When you open up the MasterDetailPage, the...

View Article


Will the day come when we don't need to use Reference items for centering in...

Currently we need to use Reference items in order to center something in a RelativeLayout. This can be seen in the Sample Project, and I can confirm that it seems to be the only way in practice. Now...

View Article

Another ListView issue iOS: setting source causes crash if view was detached...

(Latest Xamarin.Forms including hotfix) I have a Contentview where the Contentview can have different subviews depending on the context (like a Tab view). One of the subviews has a listview. That...

View Article

how to make list view scroll more smooth

i have create a list view , with 36 items (cell) inside. the cell is a stack layout contining 1 image , 2 label , 2 button, but the performance is bad. when it only contain one label is more smooth....

View Article


Take Snapshot

Hello, I am making small app by using xamarin forms, How can i take snapshot of custom control or custom renderer?

View Article

IsEnabled on EntryCell on Windows Phone BUG

It looks like the IsEnabled for EntryCell on Windows Phone isn't working. I am building an app and on WP the text box is still editable, but on iOs it is disabled as it should be as I set IsEnabled to...

View Article

after update to 1.22 SetHasNavigationBar in MasterDetailPage is not working

1.21 is working . after update to 1.22 forms . NavigationPage.SetHasNavigationBar ( this,false); is not working ( MasterDetailPage ). the navbar is still show on top. public static Page GetMainPage ()...

View Article


Binding a Command to the ListView instead of item

I have a ListView with its ItemsSource bound to a list in my viewmodel. The list view has custom item template with only a TextCell in it. What I want to do is bind the Command property of the TextCell...

View Article


[WP] Label cuts off

Hey, I'm having this issue on windows phone: http://stackoverflow.com/questions/4815072/long-text-cropped-in-textblock I doesn't find a solution for XF. Maybe anyone here have an idea to solve it?...

View Article

Updating UI/Children

Hello! Right now I am running into a case where I have a dynamic ItemsSource attached to my Carousel Page, and removing and adding items to the ItemsSource as you swipe left and right. Problem is, for...

View Article

Button Events (Down, Up, Cancel)

I need to capture the down, up, and cancel events on my button controls. In my app I'm using Android's OnTouchListener along with their MotionEvent argument to determine the state of the button. Can...

View Article

Navigation.PushASync not working?

My Navigation.PushASync call is doing absolutely nothing. I've tried calling it from within a "RunOnUIThread" - same result. Doesn't give me an error, or crash, or throw an exception - just doesn't...

View Article


How to implement scroll gesture?

we can implement click, double click event by adding TapGestureRecognizer like this scrollContent.GestureRecognizers.Add(new TapGestureRecognizer { Command = new Command(Content_DoubleClicked),...

View Article

Xamarin to Windows RT

Hi, I'm actualy work on a cross-platform project. I would like to if we can get the Xamarin.Page in a Windows RT project (windows tablet) with the instruction : Content =...

View Article


LinkAssemblies Task Failure

When I create apk, it occurs an exception: C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(5,5): Error MSB4018: “LinkAssemblies”任务意外失败。...

View Article

Blank Forms Maps project runs out of memory during Android build phase

Hey guys, just wanted all of you to know that if you are using the latest Forms and Forms maps, you'll need to increase the Java heap size in your Android configuration. I haven't seen this documented...

View Article


Blank title of NavigationPage

I am getting a blank title on the navigation bar. I used tabbedpage with Navigation page, Here is what my code looks like App.cs public static Page GetMainPage () { return new NavigationPage(new...

View Article

Image may be NSFW.
Clik here to view.

Xamarin Forms - Edit the Title-Bar

Hi, I am working in an forms pcl application, where i have a tabbed page. I have hide the title bar. What i want to ask if there is a way to override(edit) the title bar, thus to add an image, a button...

View Article

Scaling a BackgroundImage

I need to overlay an image with a Grid, so I can place some elements and labels at specific places on the image. My first attempt at this was just specifying the BackgroundImage for the page - which...

View Article
Browsing all 58056 articles
Browse latest View live


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