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

Issue opening a MFMessageComposeViewController on any option click in...

I have a requirements to show 3 options in an alert say Call / Text/ Cancel for iOS. As displayAlert cannot be used for 3 options I have created platform specific tweak and using UIAlertView in iOS. I...

View Article


Xaml.g.cs null reference exception error .

I am new to Xamarin just learning . I am creating simple layout application sample and found an exception "Object reference not set to an instance of an object exception in .xaml.g.cs" .What should i...

View Article


Image may be NSFW.
Clik here to view.

Xamarin.Forms Bindable Picker

If anyone wonders how to make a Bindable Picker, here's the code: ` public class BindablePicker : Picker { #region Fields //Bindable property for the items source public static readonly...

View Article

XF Serious memory leaks while creating new strings

I'm seeing some serious memory leaks from a simple string formatting operation. I noticed this due my application UI getting slower over time. I decided to create a very simple solution to isolate and...

View Article

XAML Localization not working

Hi! I have no experience in Xamain, so maybe my question is dumb, but here it is: I use the https://developer.xamarin.com/guides/cross-platform/xamarin-forms/localization/ link to setup localization in...

View Article


Android release build crashing trying to load sgen

I am trying to build an Andoid release build for my Xamarin.Forms project, but I keep getting the following error: [monodroid] Trying to load sgen from:...

View Article

How do I make DatePicker look like a button OR Show Select Date Dialog using...

So I would like to have an "Add To Diary" button and allow the user to then select a date from a dialog to add an item to a diary. Now I can get aDate Picker Dialog using the DatePicker control, but...

View Article

Xamarin forms license activation error

Hi, I am facing unhandled activation error when i try to login with my xamarin credentials. I tried removing the files and folders from Mono , Monodroid and other mentioned locations. I tried...

View Article


How to add checkbox control in XAML

Hi, I want to add Checkbox control in Xaml page. I added below code in .Xaml page. <CheckBox Margin="10, 10, 3, 3" Name="acceptPolicy" Content = "Accept our policy" FontSize="12"...

View Article


Multiselect ListViews

I am new to Xamarin Forms and was wondering if we could build Multiselect Listviews using Xamarin Forms. Any help would be appreciated.

View Article

Displaying Placeholder text on a DatePicker - Can't get this to work

I followed the renderer here: https://forums.xamarin.com/discussion/35792/crash-in-custom-renderer-on-ios However, the text is never displayed and the datepicker always shows todays date when...

View Article

InitializeComponent does not exist

Hi, I'm having difficulties on XAML files in a Sheared project. Using Xamarin Studio; What I did was simply adding a xaml page to the project and build without adding any code. And it gives me the "The...

View Article

Is there any way to populate TableSection of TableView with list in XAML?

I want to use table section like a separate lists of elements (is it a bad practice?). All I found is the way to create cells in code-behind and add them to a TableSection. Is it realy no way to fill...

View Article


SelectedItem color (ContextActions)

I added to my View Cell the context Actions as described here https://developer.xamarin.com/guides/cross-platform/xamarin-forms/user-interface/listview/interactivity/#Context_Actions The context action...

View Article

OnCurrentPageChanged issue on Windows Phone 8.1

This code works pretty well on iOS and Android, but why it does not work on Windows Phone 8.1 and are there any workarounds? protected override void OnCurrentPageChanged () { base.OnCurrentPageChanged...

View Article


How to customize entry borders

Hi am working on xamarin.forms android PCL . i want to remove the top border line of entry control and need to change color of it. can anyone help me with this...!!!!

View Article

[MessageHeader(MustUnderstand = true)] doesn't seem to work in Mono

Has anyone come across this? I've got the following in my WCF contract: [MessageHeader(MustUnderstand = true)] This is being ported from .Net to Mono, but I get the following build error: Error 136 The...

View Article


Login with Social media

Hi , I am developing an application which will allow the user to login using social media like facebook,twitter,google+ etc. For my application I would like to add the following social networking sites...

View Article

Xamarin.Forms Map move pin position

How can I change the location of a pin that is already on the map? In best case scenario I would be able to bind its location property to my view model. Currently, it doesn't seem to be possible...

View Article

System.Data.dll with Xamarin Forms

Hi mates, I have the part of the model in the PCL project and I'm using SQLite. In addition, I have two projects more (iOS and Android). I'm trying to use the System.Data.SqlDbType but my xamarin...

View Article
Browsing all 91519 articles
Browse latest View live


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