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

White Padding when using Forms in iOS

i've used this article to create an image cropper for my application. My platform is iOS and i'm using a Tabbar, now i got a white padding above the Forms view (Same hight as the Tabbar). How can i...

View Article


Xamarin.Forms, Xamarin.Auth, and Facebook

I'm in the process of learning Xamarin.Forms and Xamarin.Auth. I have followed this sample https://github.com/jsauve/OAuthTwoDemo.XForms and the instructions given by Joe at...

View Article


Appearance of Master in MasterDetailPage

Hi everyone, I manage to place Master on the right side of the screen by using custom renderer. Now I want to know how to make Detail page be pushed along with Master when Master is displayed? I mean,...

View Article

XLabs.Forms CameraView control: How to get current camera frame and enable...

Does anyone know how I can get the current camera frame which is displayed in the CameraView control? Best would be as byte[] :-) Also is it possible to enable AutoFocus? The CameraView does not enable...

View Article

FreshMVVM: No default constructor exception on PageModel constructor injection

Hey there, getting a missing method exception when trying to create a new page using FreshMVVM. System.MissingMethodException: Default constructor not found for type...

View Article


Image may be NSFW.
Clik here to view.

Is there any documentation no how to build a custom GridView?

I'm trying to use the Grid like an MvxGridView whereby I can Bind to a Collection, and set a Template. Ideally, this can all be done in Xaml. Here's my pseudo code example. <GridView x:Name="MyGrid"...

View Article

endless building for Xamarin Forms --> android project

Just added a Blank Xamarin.Forms App Set the .Droid project as startup project Build the .Droid project ---> The building does not finish, seems keep building for ever ---------...

View Article

How to change renderers that change with time

Hi Xamarin Experts, Normally, when one creates a custom renderer, BindableProperty is used, and in the custom Renderer, OnElementPropertyChanged is called which alters something in the view. If I want...

View Article


Couldn't copy SQLite DB to iOS folder

Hello everyone. I'm trying to execute data from some sqlite DB, but i can't since it doesn't copying to app's local folder. Looks like program creates new one, empty, so i get an error that "no such...

View Article


Control only on one platform - XAML and OnPlatform

I want to add label (or other element) only on one platform, how achieve that using XAML? I tried: <OnPlatform x:TypeArguments="View"> <OnPlatform.WinPhone> <Label Text="Only on...

View Article

Image may be NSFW.
Clik here to view.

ListView inside ScrollView difference between Android and iOS

This is the code: Content = new ScrollView () { VerticalOptions = LayoutOptions.Fill, Content = new StackLayout () { VerticalOptions = LayoutOptions.Fill, Children = { this.ListOfComments, CommentArea...

View Article

How to Change the background color in Windows Phone ?

How to Change the background color windows phone ? I tried so many properties but no one is working. I used the properties like that ((App.Current.Resources["PhoneBackgroundBrush"] as...

View Article

How to integrate social platform features in Xamarin.Forms app?

Hello, I'm working on a Xamarin.Forms application in combination with Azure Mobile Services. I'm able to get auth token using azure's Identity feature using which I've login working for facebook,...

View Article


ViewModel for severel Pages like a Walktrough (CarouselPage) on the start of...

Hello together, i want to implement a ViewModel which collect data in a Model from 3 pages in a CarouselPage. On each Page the user selects something and on the last page the user can push the start...

View Article

Xamarin.Forms.WebView not loading URL ?

public class WebPage : ContentPage { public WebPage () { var browser = new WebView(); browser.Source = "http://Xamarin.com"; Content = browser; } } I tried the above coding, working fine. But when I...

View Article


Listview on iOS 9 not filling screen width - issue with custom ViewCell

In iOS8 a simple Listview would have separator lines that filled the width (especially in landscape mode) In iOS9 the Listview separator lines no longer fill the full width on a landscape iPad mini....

View Article

Need to send a message from AppDelegate to view model in PCL . Please HELP!!!

I have to send a message to the view model in PCL to log an exception when I catch unhandled exception in Appdelegate. I am not able to send messages to the view model.. Running into compilation errors...

View Article


Set column span by using Grid.Children.Add from source code

I have the following source code for setting up a Xamarin.Forms.Grid control on my page. I will like the first 3 rows to expand both columns. The code sample in the online documentation does not really...

View Article

Xamarin.Forms.Maps Locale/Languages

I need my maps to match the language in the app but I can't find a way to set a locale/language on the maps control. Pointers? thanks!

View Article

HTML5 Javascript and CSS files inside Xamarin forms

I am writing a native cross platform application using Xamarin forms. But i need to have one page with a Web view to render an existing HTML5 page even thought other parts of the app are native.I have...

View Article
Browsing all 77050 articles
Browse latest View live