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

Disabled button color

I changed background color of a button and noticed that when button is disabled (IsEnabled=False) the button is not changed at all and looks same as enabled button. Then I decided to use triggers to...

View Article


Access the camera does not work - Error - " Only one operation can be active...

Hello, i've make a simple app with xamarin.forms that access to photo camera or take picture. I've used the service of Xamarin-Forms-Labs , iv've configurated all, ioc... ecc.. but when i use the...

View Article


Image may be NSFW.
Clik here to view.

How do you dynamically make individual Grid rows size themselves to their...

I have a grid that fills itself up from data/calculations stored in a database. Because of this, the database may change and all rows need to be dynamic (no XAML setting individual RowDefinitions)....

View Article

Can't add System.Timers as an assembly reference for CarouselLayout?

I'm trying to use CarouselLayout from this source but when I copy some of the code into my Xamarin.Forms project, I can't seem to get a reference to System.Timers that's needed in CarouselLayout...

View Article

Binding with Converter using ConverterParameter Binding Not Working

I'm trying to do the following: Bind a Color property from based on the class property if the item is selected. If it is not selected, to color the Color gray. This is using a custom horizontal...

View Article


Binding to call a method of the binding class from a button.

Hey, So i have a View that i have bound to a List of Timer objects called Timers (custom class i have made), and in the view i have added a start and remove button. when a user clicks start i want them...

View Article

Xamarin.Forms + UIDocumentInteractionController.PresentOpenInMenu

I need to open a file in a different app. For this I used PresentOpenInMenu in my old Xamarin iOS app which I now want to port to Xamarin.Forms. Unfortunately the other app does not open. My code looks...

View Article

Need to add one content page into second page stack layout

Hi, I have put one content page ( Let's assume it as first page ) with some controls, and then i will put one more new content page with one stack layout. Here can we able to add the first content page...

View Article


What is wrong with the binding in this custom viewcell?

As I have a component i need to show on several listviews, i have extended a viewcell. I would like to bind the fields in the viewcell to properties in my viewmodels list. Simplified XAML for...

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

App Suspended after Async Call

Hi. I am using MS Http Client in Xamarin Forms App. If I call any async method from my ViewModel (for example HttpClient.GetAsync()) before page view all working good. But if I same call after Page...

View Article

System.Net.Http not found

Visual Studio 2015 Xamarin 3.9.289 Xamarin.Android 4.20.0.34 I have a basic almost hello world type app that is making a rest call with basic authentication. This is the most relevant error message I...

View Article

Release configuration to publish Android app in Xamarin.Forms (PCL project)

Hi, I have created a configuration in order to add some custom commands etc when I publish an Android app (see attached image). If I select "Release|Test" for the Android project then Xamarin Studio...

View Article


Killing a shared application

I want the user of my shared (Android/IOS) application to be able to download an entire (updated) SQLite database for their app (rather than updating individual records one-by-one). To this end, I can...

View Article

Activity vs Application

Whats the difference b/w using Activity vs Application in Xamarin? Why would one want to use one approach over another? For example, when I create a new Xamarin Form project in VS I get the follow:...

View Article


Moved: Session management b/w activities

This discussion has been moved.

View Article

which social authentication to use?

Hi, I'm developing a Xamarin forms app. And now I want to implement user authentication. And later posting on facebook. I have looked at teh component store and found many different components. So...

View Article


Is it possible to disable navigation toolbar items in xamarin.forms?

I'm trying to find a cross-platform way to disable user interaction with navigation toolbar buttons. When the user clicks "done" I make a request and want to prevent any further clicking of "done" or...

View Article

2 way binding between slider and entry

Hey guys, so I'm attempting to do something I would assume is fairly simple. Basically I have a Slider and an Entry next to each other. When you slide the slider, I want the Entry field to update with...

View Article

Problem with @(Content) in Visual Studio with Xamarin

Hi! I have a problem.I created a solution (mobile apps) and when execute, I get the following warning : Warning XA0101: @(Content) build action is not supported (XA0101). and then the android emulator...

View Article
Browsing all 91519 articles
Browse latest View live


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