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

__IOS__ and __Android__ not working?

Hi, In my PCL i try to use Android and IOS but they won't work... When i define them in the PCL project settings( both debug and release) they will trigger, but they will both trigger! I also added IOS...

View Article


Urgent: MpMoviePlayerController not playing the video after latest...

Hi All, The following code in Xamarin IOS was working fine prior to the Xamarin IOS update to v2.0.50727 This is the code in a custom renderer in a Xamarin Forms app class WatchVideoRenderer :...

View Article


How to get UINavigationController from Xamarin.Forms on iOS

I need to get the UINavigationController of a iOS application, but after the method "CreateViewController" of Xamarin.Forms is always null! `public override bool FinishedLaunching(UIApplication app,...

View Article

Xamarin.Forms mixed with MonoGame?

Hi, would this be possible? I mean, there is an OpenGL-View, but I want MonoGame/XNA-Code inside them. Thanks. Regards ps. Xamarin.Forms is like my GitHub-WPFLight Project, but with more native feel.

View Article

[Xamarin Blog] Build Your Own Selfies App with Xamarin.Forms and Azure

Sending selfies to all your friends has never been easier thanks to Moments: a Snapchat clone built with Xamarin.Forms and Microsoft Azure. Best of all, Moments is also open-source and freely available...

View Article


How to set Padding of Button

I want to discrease the distance between text and border。How? And I found that the smallest size of button is 80*40?Right? When I set HeightRequest = "20" ,the text of Button display incomplete.

View Article

Why UIMenuController doesn't work anymore after displaying a Xamarin Forms...

Hi, I have a UIMenuController that appear when a longpress is performed on a UIView. This menu contains 2 items : Item 1 : open a native iOS UIViewController Item 2 : open a Xamarin Forms Page with the...

View Article

Setting button's IsEnabled to false does not disable button

I have observed that when setting a button's IsEnabled property to false, the button continues to be enabled. This button is located at the bottom of the grid. I do not observe this behavior in other...

View Article


How to pass ConverterParameter to a binding, when using SetBinding in code.

When using ValueConverters in bindings, you can pass arguments to them from the binding like this using XAML: (Excerpt from Xamarin tutorial) <Label Text="{Binding Color.R, Converter={StaticResource...

View Article


Open new Page

This is probably a really easy answer, but how do I open up a ContentPage from an existing ContentPage (from button click event) without using NavigationPage?

View Article

How to profile application

Is it possible to measure memory and CPU usage in the Xamarin.Forms app for the different platforms (iOS, Android, Windows Phone)?

View Article

Example of binding with a path more than one level deep?

Can someone provide an example of how to define a binding in code for a path that is more than one level deep? For example consider this //directly setting works Title = model.Person.FirstName...

View Article

Can't make Custom View Cell update on property change

Hi, this is my first week with Xamarin and I can't figure this out. I have 3 classes: 1) ViewModel 2) ContentPage 3) ViewCell And a ObservableCollection where T is the ViewModel. If I add or remove...

View Article


Xamarin Forms and Geofence

Is Xamarin Forms supports Geofence for iOS and Android ??

View Article

listView ViewCell not adjusting it's size to content on iOS

I have a custom ViewCell that i use to populate a listView. It works like a charm on android, on iOS however i'm having issues. The cell has a Horizontal stackLayout with a box and a 2nd stackLayout,...

View Article


Cross Platform TextCell with Custom Look

I would like to create a TextCell that I can use in xaml that uses the native controls of each platform (ios / android), but has my own look to it. I have attached a picture of what I would like it to...

View Article

Show view hierarchy in Debugger

Hello I was wondering if there's a way to to log the view hierarchy for a ContentPage in Xamarin Forms, similar to how in iOS you can just log the 'description' of a UIView and it will show you all of...

View Article


Icon image on Toolbar item in xamarin Forms

Hi, I'm creating all forms UI with the code using the Shared project. I want to add the icon image to the toolbar item. Can anyone guide me how can I achieve the same ? I could not find a suitable...

View Article

HasShadow Property of Frame not working

I am using Xamarin Forms and I am trying to build a cardview style control by putting a frame inside a listview and it doesn't look like the HasShadow property is working properly. I have it set to...

View Article

Navigation Bar left Toolbar button

Does anyone know any way to add a toolbar item to the left side of a navigation bar instead of the right?

View Article
Browsing all 77050 articles
Browse latest View live


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