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

How do I access a resource defined in App.xaml?

Hi, I have been trying to follow various guides I've found on the internet about how to access resources defined in an App.xaml file from a ContentPage but none of the method work. Is there something...

View Article


Windows 10 Universal Error "CS0103 InitializeComponent does not exist"

Hi, I have a working Android Project with a .Droid-Solution and a SharedProject. Now, I just added a blank Windows 10 Universal Solution and did the instructions here:...

View Article


Hide keyboard programatically

Hi In iOS I have this situation. 1- MasterDetail Page 2- In "Detail" page I have an Entry field. 3- If I got focus to Entry Field, the Keyboard popup. 4- If I press / visualize the "Master", the...

View Article

Proper way to handle grid headers in a listview?

Hi everyone. I have a listview that uses a grid to defined my columns and rows, like below. I am wondering how to add a header row. Do I need to create a completely new Grid object inside...

View Article

Push Notification Usando Json

good personal day hello , I'm in a pojeto creating a xamarin.fomrs app and I'm desperate, need to implement in my Push Notification project , rescebendo the alert by json notifications and not find...

View Article


Custom Renderer not being called on iOS

Hello, I`m trying to take a photo from library and then send it to a crop view. To take the photo from library I use a custom renderer and it is working fine, here is the code: using System; using...

View Article

Keyboard removes UI components behind it when navigation.pushAsync is...

Having a problem once i enter data into an Entry field and select a button which triggers the application to navigate to a new page, the keyboard hides and the UI components behind the keyboard...

View Article

Xamarin.Forms use MessagingCenter with Login method

My app is a Xamarin.Forms PCL app using Profile 259. I'm trying to send a message to the user if the login fails due to a user name or password error. If the login fails, a catch block in the...

View Article


DependencyService and Referenced Projects

I've been attempting to create a class library for a set of services to be accessed in a Xamarin Forms application, using the DependencyService mechanism for each platform. I've been unable to...

View Article


IOS - Invalid value for TargetFrameworkVersion

Hi!! I'm develop a app in Xamarin.Forms to ios, but when I try to publish the application to Local Hard Disk, always throw the error 'Invalid value for TargetFrameworkVErsion' I have read other threads...

View Article

TapGestureRecognizer on Map. I'm I actually this dumb?

I've dropped a TapGestureRecognizer onto a Map in hopes of being able to trigger a legend_close method. It doesn't trigger (iOS or Android). <AbsoluteLayout VerticalOptions="FillAndExpand"...

View Article

Changing Navigation Bar icon color in iOS and Android and Windows

I was going through below post of Adam J Wolf where he explains how to add a navigation bar icon, My question is that can we change the color of the bar icon from Blue to something else, In my case I...

View Article

Override button style

Hi! Can I override button style in Xamarin.Forms? For ex. in Windows Phone/Windows RT I can override button style and change some behavior and colors etc. (for ex.: hover color or tapped color). Can I...

View Article


Null-safe binding to a nested property

I have a binding like this: var nameLabel = new Label(); nameLabel.SetBinding( Label.TextProperty, new Binding("Item.Location.PathElement.Name", BindingMode.Default, new...

View Article

Anyone know how to change placeholder text color with Xamarin Forms?

Does anyone know how to change placeholder text color with Xamarin Forms? I assume i'm going to have to build a custom renderer, but I haven't built one yet and wasn't sure if anyone know a good way to...

View Article


Image may be NSFW.
Clik here to view.

SIGABRT Crash on Xamarin IOS Foundation

Hi Guys, My Xamarin.Forms App is crashing in production with the following error reported on insights. I have no idea where to start or what this means. Can anyone shed some light on this please?...

View Article

Android Toolbar Above PageLayout

Hi. I am using the new Material Design Toolbar on my Xamarin Forms App (see: https://blog.xamarin.com/material-design-for-your-xamarin-forms-android-apps/), but i want to make it overlay my...

View Article


Check time after timepicker set gets wrong time

I have 2 timepickers, timepicker1 and timepicker2. I calculate the total amount of hours and minutes between the 2. I do this in the timerpicker.unfocused event. On iOS this works just fine, but on...

View Article

How to 'include' NavigationPage in XAML

Hi, I'm trying to make as much work as possible in XAML. Is it possible to 'include'/embed XAML with NavigationPage into another XAML? Example - MenuPage: <?xml version="1.0" encoding="UTF-8"?>...

View Article

browse files and sync

Hi, can anyone please advise how to browse and select the files or documents from storage (either internal or external SD) in xamarin forms. my requirement is to collect the needed files list and to...

View Article
Browsing all 89864 articles
Browse latest View live


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