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

Cross Platform TextCell with Custom Look

I would like to create a TextCell that I can use in xaml that uses the native controls of each platform (ios / android), but has my own look to it. I have attached a picture of what I would like it to...

View Article


Show view hierarchy in Debugger

Hello I was wondering if there's a way to to log the view hierarchy for a ContentPage in Xamarin Forms, similar to how in iOS you can just log the 'description' of a UIView and it will show you all of...

View Article


Icon image on Toolbar item in xamarin Forms

Hi, I'm creating all forms UI with the code using the Shared project. I want to add the icon image to the toolbar item. Can anyone guide me how can I achieve the same ? I could not find a suitable...

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

Navigation Bar left Toolbar button

Does anyone know any way to add a toolbar item to the left side of a navigation bar instead of the right?

View Article


NUnit - How to test when using Application.Current?

My project format is like this: RedBean (shared with viewmodels, views, code, xaml) RedBean.iOS RedBean.Android RedBeanUnitTests (my NUnit Library project) RedBeanUnitTests has a references to RedBean...

View Article

XAML Layout to create grid 2x6 ?

I realized XAML for Xamarin does not have the same syntaxs as creating native windows phone XAML. Can anyone provide me an example of creating a grid basically 2 (left grid and right grid takes up...

View Article

Having issues with large memory being consumed when displaying images

Hi, I am currently working on a small project which requires some elements with images being displayed in a scrollview. I have a jpeg image of 43kb and when i try to display 5 instances of the my...

View Article


Xlabs : Imagebutton doesn't show the Icon image

I am using Xlabs ImageButton . The icon inside the image doesn't show in my screen. Xlab.Forms version is 2.0.5679. Here is my code , <controls:ImageButton x:Name="TwitterButton" Text="Twitter"...

View Article


No constructor found for...

On Android 4.4.2 sometimes I get: Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.NotSupportedException: Unable to activate instance of type...

View Article

Storing Controllers Inside Xamarin Forms Custom Renderers

I am creating a Xamarin Forms custom renderer. I need to invoke and manipulate a native iOS view controller inside the custom renderer. I see two possible options : Create a custom class and extend...

View Article

Anyone else having issues with ObservableCollection not updating the Listview

<?xml version="1.0" encoding="utf-8" ?> <MasterDetailPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class=".Views.MainPageView"...

View Article

DevExpress Grid Component Crashes With No Error

I have been trying to setup the DevExpress Grid component, but the app just crashes with no errors. I think it may have to do with the section that says Next, manually add the...

View Article


DisplayAlert not displaying and hanging app

What am I doing wrong? I subscribe via Messaging Center in my view, which should pop up a displayalert. In my view model, I send it what to pop up. When it hits the displayalert code in the view, it...

View Article

Why does my oxyplot not display within a stacklayout?

Hi Guys, I am hoping someone can give me a point in the right direction. I have the following page: <?xml version="1.0" encoding="utf-8" ?> <ContentPage...

View Article


Using standard Icons for NavigationBar in Xamarin Forms

Hi! Is there a way to use OS specific icons on a certain platform in Xamarin Forms? For example, on iOS I would like to use UIBarButtonSystemItemAdd and on WP/droid a custom image....

View Article

Xamarin still use old version of my code

Hello, Today i faced a problem that i can't really understand. I created a clickable list with multiple StackLayout and GestureRecognizers. One of them open a new ContentPage with some elements in it....

View Article


How to make single control for a label used on all the pages in an application?

I need a single control for a label (as a footer) used on all the pages in an application, how is it possible? do i need to take custom control? how to do it? help me! Thanks.

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

ListView: Get index of selected item?

Hi When an item is selected in a listview I need the selected rows position. Is there an easy way to achieve this? Thanks

View Article
Browsing all 91519 articles
Browse latest View live


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