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

How to disable swipe gesture on pushed page.

I have a detail page, which is pushed onto the navigation stack: listView.ItemTapped += (sender, args) => { if (listView.SelectedItem == null) return; var content = listView.SelectedItem as Content;...

View Article


Xaml Pass Binding as argument

Is there a way to pass a binding or similar as an argument to a non-default constructor in xaml? like: <MyClass> <x:Arguments> <x:Boolean>true</x:Boolean>...

View Article


Can i have multiple ItemTemplate for the Listview which holds different...

Hi all, I have an requirement where I wanted to have an different layout for the ViewCell in the ListView that too it will be created dynamically.How can I achieve multiple item template for each item...

View Article

httpClient.PostAsync works on Android and iPhone simulator but fails on real...

Hi, I recently got caught up on XCode and Xamarin updates. Now a Post from a real iPhone device gives me a 500 error while the same code in a Droid phone or an iPhone Simulator from Visual Studio works...

View Article

OAuth2 Microsoft/Google authentication Xamarin Forms

I'm building an app that should be able to send emails. I'm using OAuth2 to verify the user, and I've looked at the Xamarin Forms Sample which works great with gmail after setup. However it doesn't...

View Article


Input validation with Data Annotations

Hi, I was able to install the System.ComponentModel.Annotations package from NuGet in a Xamarin.Forms app, where I had to remove all of the Windows projects. Now, I'm able to decorate my data model...

View Article

DatePicker UTC

Hi, I'm using Entity Framework and ASP.NET Core Web API as a back end of my LoB app. In the server side, I want to store all DateTimes as UTC, while in the client side I want them to be displayed in...

View Article

How to use a Float Action Button in Xamarin.forms with a PCL project form...

I'm new in Xamarin, Xamarin.Forms and C# platform. I'm making some experiments with these technologies and now I'm searching about how to use platform specific UI components in Xamarin.Forms with a PCL...

View Article


Can't get ListView to vertically center within StackLayout

I'm expecting the following listview to be centered vertically: <StackLayout Orientation="Vertical"> <ListView ItemsSource="{Binding Children}" VerticalOptions="Center">...

View Article


Bug or Feature? Resuming App Fires OnAppearing for All Pages in MasterDetail...

Hi there, I'm running into an odd sequence of events when I navigate within the Detail of a MasterDetail layout, sleep/resume my application, then pop the Detail's navigation stack to root. I'm hoping...

View Article

Image may be NSFW.
Clik here to view.

Set Background Image for Picker

want to set a Background image like this. This the background of my picker: I tried to use this code : But it shows the picker first after that the image like stack layout orientation horizontal.

View Article

Preview: Xamarin.Forms for macOS

I hope you are taking an opportunity with the latest pre-release 2.3.5.233-pre1 to experience your Xamarin.Forms apps running on macOS. It's a trip. We want to kick off a thread to have some ongoing...

View Article

Possible bug? Tabbed Page

Hello everyone, I'm using the plugin https://github.com/thrive-now/BottomNavigationBarXF (bottomNavigationBar) And OnAppearing of ChildPages of a TabbedPage is called twice Someone know something?

View Article


Create shared library

Hi! I know there are the options portable and shared class library. At the moment I only see the option to create a pcl library. Where can I create a libary that uses code devided by compiler flags?

View Article

Master-detail menu - slide over top of detail page on iOS?

The default behaviour of a Master-detail type menu appears to be to push the detail page to the right when it's displayed. Is it possible to change this behaviour so that it slides over the top of the...

View Article


Bold custom font on iOS works on simulator but not on device

I'm using a custom font in our app, and have found that if I set a FontAttributes="Bold" for a Label style using the font, it works on the iOS simulator, but not on a real device. Steps taken: 1. Added...

View Article

Image may be NSFW.
Clik here to view.

Problems with device simulators (Windows Phone, Android, Windows Ap)

Hi! I'm trying to develop a portable xamarin.forms project. But in most of the target variants, the deployment fails. I think mostly because there are emulator problems. I'm running Xamarin stable...

View Article


Image may be NSFW.
Clik here to view.

Local Notifications with Big Picture Mode

Hi Guys, I was reading through the guide (Xamarin Android) hoping to implement the local notification with image (possibly big image OR supporting template). Just curious if anyone has implemented this...

View Article

Display image in Xamarin Forms app sourced from post method on RESTful service

Hi all, I've been working on an Xamarin Forms app which displays a user Id photo that is grabbed from a Restful service, using a post method with two parameters (eventId, linkid). I have set up a...

View Article

Image may be NSFW.
Clik here to view.

What is the best option to track exceptions and events in xamarin forms?

I am asking this question in terms of size, memory usage and ability to use in forms project. because my experience with most of the tools available for forms is very disappointing. 1) First started...

View Article
Browsing all 89864 articles
Browse latest View live


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