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

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 move layout up when softkeyboard shown?

Hi All, I am working on one project, where I had an issue. The issue is when I tap on entry control the softkeyboard hides the bottom content, I need it in the way when I focus 2nd entry from bottom,...

View Article


XamlSamples doesn't compile w/Xamarin Studio & iOS

When I attempt to compile XamlSamples I get the following compiler error: AppDelegate.cs(20,37): error CS0234: The type or namespace name `App' does not exist in the namespace `XamlSamples'. Are you...

View Article

Background Tasks

In my application I have a Socket Connection to a server, in Android this is running in a Android.App.Service, this works as it should even when the app is minimized/suspended. I am no working on the...

View Article

sorted listview

I have a list view that is binded to an observablecollection. Is there something like a collectionviewsource to do the sorting or do I have to do I everytime I add an item.

View Article

Xamarin System.IO Read/Write file not persisting between sessions

I am unable to write and then read files between sessions. Within a session everything works as expected, however, when I close the app and reload it I receive a "FileNotFoundException" when I do my...

View Article


Disable scroll in ListView

Hi! Is it possible to disable scrolling in a ListView if you have only a few items? Thanks // Johan

View Article

Busy indicator is not visible while loading the page first time.

Hi all, I have added pull to refresh in my app. The busy indicator is not visible when I enter in the page (while loading the page) which contains pull to refresh for windows. Does anyone know, how...

View Article


TabbedPage bug?

Is this a bug or I should use it in another way? public class MyQuestionsPage : ContentPage { public MyQuestionsPage() { Title = "My Questions"; Icon = "TabBar-Icon-MyQuestions"; } } public static Page...

View Article

How to find the image that is not found on iOS

Hi all, I get this error: System.Exception: Could not initialize an instance of the type 'MonoTouch.UIKit.UIImage': the native 'initWithContentsOfFile:' method returned nil. It is possible to ignore...

View Article


Master Detail Layout - Detail Positioning

I am using the master Detail Layout in Forms and have it implemented, looks pretty good, but noticed a behavior, not sure if there is a defect associated with it or if I missed a switch or something So...

View Article

RowHeight of a grouped list

Hi, in my application I cannot use the RowHeight Property of a grouped list. It is always -1. My Code in which I needed the Property is: this.<ListView>.HeightRequest = (...

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
Browsing all 75885 articles
Browse latest View live


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