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

Device.StartTimer

Does Device.StartTimer run in a background thread? Thanks Wessel

View Article


Device.StartTimer

Does Device.StartTimer run in a background thread? Thanks Wessel

View Article


Image may be NSFW.
Clik here to view.

(Label and StackLayout) fill all the space inside the stack layout

Hello As you can see in the image, I can't let the label fill all the space needed and my text is been cut off, I have tried a lot of different things (horizontal and vertical options.fill and fill and...

View Article

Creating a Table with Sections

I am porting over a MT.Dialog app to a Forms app to work on all 3 devices. What Forms UI element do I use to produce a classic table with section headers. It's for a financial app, so there is an...

View Article

Messaging-Like ScrollView Layout

I'm trying to achieve a "messenger-like" layout and can't seem to get it figured out. Basically I want a ScrollView with a label (which will contain lots of scrollable text. And at the bottom, I need...

View Article


SQLITE Commands C#/Android

Hey, I just started working with a tutorial and everything works but it douse not talk about the basics of Insert, Delete, Update in a database. Question: How do you display everything in a database ?...

View Article

Picker is shrink on Windows Phone 8

Why is Picker shrinking on windows phone 8/emulator while the same code is displaying it well on android and iOS? var orgsPicker = new Picker { Title = "Select One", MinimumWidthRequest = 200,...

View Article

Stacklayout Label Widthrequest not working properly?

Hi everybody, I really have troubles with formatting lists with custom CellViews properly. Let's assume I want to have a List with two columns (everyone is a label, basically) and the first label...

View Article


Forcing a page that is Navigated to modally into Portrait orientation

I have a Xamarin.Forms ContentPage that I want to only show in portrait mode. If the user rotates the device I don't want the view to rotate. This page is navigated to by calling...

View Article


Get Comman Property from TapGestureRecognizer

Hi. I have below xaml where i have added to ContentPage <Image HeightRequest="40" WidthRequest="40" > <Image.Source> <OnPlatform x:TypeArguments="ImageSource"> <OnPlatform.iOS>...

View Article

Cannot create Android custom renderer when subclassing Android.Widget.xxx

I get the following error when creating a custom renderer on Android based on the custom widgets:— Error CS0234: The type or namespace name Widget' does not exist in the namespaceYoubetme.Android'. Are...

View Article

Reflection on PCL library

Hi! I cannot seem to get the reflection API to work with the PCL that targets profile78. The version I'm able to compile is: var profile = App.MainPageViewModel.CurrentUserProfile; var idProperty =...

View Article

Could not compile Android xamarin form build after updating dll.

Got an error /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: Error: Error executing task GenerateJavaStubs: Could not load assembly...

View Article


How to set the starting scroll position of a ListView?

I am dynamically adding items to a ListView that I am using as part of a page which is set to be the Master property of my MasterDetailPage. The issue I have is that since the items added exceed the...

View Article

Xamarin.Forms Version 1.2.3 DatePicker

Hi, I know this issue is as old as Xamarin.Forms but unfortunately I need a solution for it as soon as possible, and i couldn't find any solutions out there! I need a datepicker view with the...

View Article


Xamarin.Forms.Labs - How to set Commands in constructor when using ViewFactory

HI, I'm using ViewFactory to instantiate my Pages. The problem with this pattern is that the BindingContext gets set after the Page's constructor has been run, which is obvious, but this creates a...

View Article

Access property in MainActivity.cs (Android) from XAML Portable

Hello guys, I'm developing a cross-platform application and I need to get the current version of the application, so I made this on MainActivity.cs (Android) : Context context =...

View Article


UITableView segue not working

Hi, I'm new to apps and Xamarin but I have a pretty strong background in C# but I'm struggling with what feels like a really basic problem. I'm developing a Xamarin.Forms app and I'm using a storyboard...

View Article

WinForm Images

Following the guidance at http://developer.xamarin.com/guides/cross-platform/xamarin-forms/working-with/images/ I have added an image to the root of my WinPhone project and set the build action to...

View Article

Locking orientation in Xamarin.Forms

I'm trying to lock the screen orientation programmatically in my Xamarin.Forms app. I could not find a solution that is supported across devices, so I'm using the Dependency Service to implement it for...

View Article
Browsing all 58056 articles
Browse latest View live


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