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

How to change size of an image in code behind

I have a ContentPage defined in XAML where I want to change the size of an image via code behind later on. But setting the WidthRequest and HeightRequest does not change the size of the image. If I...

View Article


Issue facing with PopupLayout provided with XLabs.Forms.Controls

My popup is coming up in both android and windows. But when I try to use it for IOS it is blocking all the click events of the layout here is my code. I am creating an instance PopupLayout _PopUpLayout...

View Article


Dynamic height when switching views

Right now I have two views with a couple of buttons below them. I only want 1 view visible at any given time. Based on what buttons the user presses I hide the views, and I want them to take up the...

View Article

How to customize the Android Action Bar to look like the iOS rendered...

Hi, I am using Xamarin.Forms to build my first cross platform app. My NavigationBar/ActionBar looks great on iOS and fits the design spec but not on Android. My main requirement is to have a centered...

View Article

Xamarin Forms page custom renderer fails to cast ContainerElement as Canvas

As written in title.. When i try to make a platform specific rendering of a WP page, the ContainerElement gets cast to null - but its not really null - it contains lots of properties, but still i cant...

View Article


How to do multiselect in ListView?

Hi to all. Does the ListView support multiselection natively? I would like to implement this. Thanks.

View Article

The "XamlCTask" task failed unexpectedly.

Hello Team, I am facing this The "XamlCTask" task failed unexpectedly. problem after adding the xamarin.forms.maps package to my application. Waiting for your response.

View Article

Equivalent to an app.config file

Hi, I am new to Xamarin development, and I was hoping someone can help. I am trying to create an Forms app that can read settings from something like an app.config. The basics of the app is that it is...

View Article


How do I implement Manatee scanner in a PCL project?

I have a iOS/Android PCL project and want to implement Manatee scanner, but their samples don't cover PCL. The sample provided for iOS: scanButton.TouchUpInside += async (sender, e) => { //Make an...

View Article


Barcode rendering with ZXing.net in my Xamarin.Forms app

Heyo, So I've seen a lot of posts where people need help scanning barcodes, but so far I've not seen any posts where people were having trouble rendering a barcode from a piece of data. Our app needs...

View Article

Images with databinding via XAML

I am able to display images successfully, but it fails when I try to do it with data binding in a XAML ListView. I have tried it a couple ways. 1 Image Source="{Binding ImageResourcePath}" I know the...

View Article

How to attach an ImageSource object to an email?

I'm working on an Android dependency service to open the default email client and add an image attachment. I'm passing an ImageSource object to the Android dependency service, but now I'm trying to add...

View Article

Getting data from WebView in Xamarin Forms

I have a webpage displayed inside a web view.. on the webpage the user is supposed to be selecting a date using a calendar control/datepicker and this value will go towards the server side. How can the...

View Article


Add a Xamarin.Forms Element to a UIView in a custom renderer

Hi! Does anyone know if it's possible to add a Xamarin.Forms Element to a UIView in a custom renderer? I have tried Platform.CreateRenderer but it doesn't display anything for the Element. The element...

View Article

HasShadow Property of Frame not working

I am using Xamarin Forms and I am trying to build a cardview style control by putting a frame inside a listview and it doesn't look like the HasShadow property is working properly. I have it set to...

View Article


Receive information from my application to WCF JSON format

I have a problem, I have a WCF that gives me my application platform data in JSON format, I can send up to 3800 records ... but when I send my application data captures only the WCF me 90 records, if...

View Article

App in foreground

Hi friends. I have an app in background. I would like to put it to foreground using code. How can I do this? How can I know that an app is in background or in foreground? Thanks

View Article


Toggle iOS NavigationPage.SetHasNavigationBar with TabbedPage results in...

Anyone tried this scenario before? I'm talking about latest Xamarin forms 2 targetting iOS. I have a TabbedPage with 4 tabs, when the user looks at the first 2, there should not be a navigationbar - I...

View Article

Cannot install any package

Dear all, Forgive me if this is really a newbie question. I've started working with Xamarin and Xamarin.Forms. Now I'd like to try installing new packages but I cannot install almost any package on any...

View Article

How to make a HTTP Request to Get XML Data

Hi there Sorry for such a simple question, but i'm quite new to Xamarin.Forms How can i make a simple HTTP Request to get XML or JSON data? Regards

View Article
Browsing all 75885 articles
Browse latest View live


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