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

View Cell error in Windows Phone !

My app have two list view which loads from an url. First is the main category and the second is sub-category. While clicking on the first item in main category list it will populate the sub category...

View Article


OnPlatform Tweek not working for Windows Phone

Hi Guys, I am new here so may have an issue with code, but the following is not working as expected <BoxView.BackgroundColor> <OnPlatform x:TypeArguments="Color" iOS="Green" Android="Red"...

View Article


'NuGet.EnvironmentUtility' threw an exception ?

After adding any package from Nuget this warning is shown in my project while debugging ? The type initializer for 'NuGet.EnvironmentUtility' threw an exception. I'm Using : Visual Studio Ultimate 2013...

View Article

Can a parameter be passed in a binding?

Is it possible to use an indexer in a property in the Data Model? Then include that in the binding parameter? What I'd like to do, for internationalization, is have a Translator class which will return...

View Article

Touch Events in Xamarin.Forms?

I'm using a TabGestureRecognizer to make an image behave like a button. (See below) I have two versions of this image (back_button_up.png and back_button_down.png). I want to swap the images on "Touch...

View Article


Serializing NavigationPage

I get the exception: Could not load type Xamarin.Forms.Platform._NavigationPageRenderer, Xamarin.Forms.Platform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null while decoding custom attribute,...

View Article

MR.Gestures handles ALL touch gestures

With MR.Gestures you can handle the Tapping, Tapped, DoupleTapped, LongPressing, LongPressed, Panning, Panned, Swiped, Pinching, Pinched, Rotating and Rotated gestures on all layouts, cells, views and...

View Article

Why do 2 numbers appear at top left hand of screen on Windows 8.1 app

When I debug a build of the app these 2 numbers appear at the top of the screen. What are they and how to I get rid of them.

View Article


ListView transparent selection color for Cells

Hey Guys, How can I disable the selection Color of a ViewCell durable? I created an own CustomRender for iOS and ViewCell: public override UITableViewCell GetCell(Cell item, UITableViewCell...

View Article


Bug : Switching IsVisible on a button does not redraw the button

Hi, I have found something weird, when switching IsVisibility of several button embbedded in a stacklayout, using a viewModel (Commands and bindings) the buttons does not always redraws themself (on...

View Article

Xamarin.Forms Designer

I've modified the DesignerHost-Sample from Microsoft to create a Designer that works in conjunction with Xamarin.Forms, WinForms and GTK# It's not the swiss army knife and requires a large function...

View Article

Image may be NSFW.
Clik here to view.

How to install, setup and use XLabs?

Hi all As the installation and use of XLabs is not self-explaining and there is no clear and easy documentation available right now, I have wrote a document (parallel to implement some functions from...

View Article

How to create Label with border?

How to make border just for label? I was trying to search, what views can realize border properties, but I've found only button. Maybe should I cotain label in some easy layout?

View Article


Equivalent of ResignFirstResponder in Xamarin Forms

Hi, is there an equivalent of ResignFirstResponder in Xamarin Forms? I need to dismiss the keyboard after i populate the listview with results. Thanks

View Article

ListView itemtapped event stops working on Android

I don't want nothing more, just handle ListView's itemtapped event. When I open the page first time, it works. BUT When I navigate to another page with tabs, and later navigate to the listview page...

View Article


How to specify RowDefinitions and Column Definitions of Grid layout in XAML...

Hi experts, As subject, here is my XAML code. But I got "There is no Height and Width property...." exception while compiling. I know the type of Height and Width should be GridLength but I have no...

View Article

TouchesBegan doesn't work in iOS

I'm trying to handle start of touch in iOS project using TouchesBegan event. I've done everything, that is described here . Gestures like pan, swipe, longpress and so on work fine and I'm trying to...

View Article


[Android] "The 'LinkAssemblies' task failed unexpectedly"

I'm getting this error in my Forms app. My app targets Android 14. I did not create it from the Xamarin.Forms project template, but rather re-purposed the original app while trying to upgrade to...

View Article

Java.Lang.RuntimeException every time I try to use Xamarin Forms Maps on...

Hi, I have a page to select the address of the user. It has a Map page on it. It works perfect on iOS, but every time it starts on Android it errors out. I saw on other posts, there is a way in Visual...

View Article

RendererFactory.GetRenderer() - is it bug - child content?

Is it bug that RendererFactory.GetRenderer(Forms.View) doesn't return child content? For instance if you call this with non-empty Grid (for ex. with few buttons) only the Top-Level element would be...

View Article
Browsing all 89864 articles
Browse latest View live


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