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

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


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

Is there a way to speed up XAML Page loading?

I'm writing a Xamarin Forms solution for Android and iOS. The application uses a Master-Detail menu where each menu item is a page to navigate to, very simple. My problems is that when tapping on a...

View Article


How to intersect unhandled exception (App level)?

Hi there Is there any way to hook to an event when the app unhandled exception occurs? Thanks.

View Article


How to open PDF in xamarin.forms?

How to open PDF in xamarin.forms?

View Article

DatePicker DateSelected Event Not Fired if the date doesn't change?

So I have a form where I would like a user to add a "note" to a day. So they click a button which sets the Focus to a DatePicker: <DatePicker x:Name="addToNoteDiaryDate"...

View Article

SQLite net with linq

Hi, I want to create simple login page. To do that I nead to create simple query to database, to get login and password. Login is unique. My query looks like this: var query = (from s in...

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


Dlls working in one place but not another

Hi folks, I've been playing around with Xamarin and im hoping you can help me out with a couple of questions I have. I can see that when you create an Android application using Xamarin you can use...

View Article

Animation causing KeyNotFoundException: The given key was not present in the...

So I have pretty consistently had issues calling animations from non ui-threads generating this exception. {System.Collections.Generic.KeyNotFoundException: The given key was not present in the...

View Article


Acr.XamForms.UserDialogs.Toast customizing the UI apperance

Hi Guys We have been using the Acr.XamForms.UserDialogs.Toast across all our apps and we would like to customize the UI appearance (background colour , font size , font colour, rounded corners, etc.)...

View Article

Size of Screen in a Custom Renderer

Hello, I might ask a pretty easy question but I have been trying to get the size of the Screen in a custom renderer to change the size of a Button accordingly. I might be doing something wrong, but...

View Article


How does one catch, not re-throw, and report to HockeyApp and said caught...

I need to catch an exception and report it to HockeyApp without crashing my app - hence not re-throwing it. Thanks in advance.

View Article

Overriding OnDisappearing

I have a non modal page where the user enters data. If the user clicks the software back button (popping the task) before saving his entered data I want to ask the user if they want to save the data. I...

View Article

Multi-line text on buttons - how to get consistent across platforms?

When the Text property of a Button is set to text that contains more than one line (i.e. has a carriage return/linefeed in the middle), what gets displayed is different on each platform. On iOS, only...

View Article
Browsing all 89864 articles
Browse latest View live


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