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

SlideOverKit - Cannot access a disposed object

I'm getting this error when I show my menu with the code: protected override void OnAppearing() { base.OnAppearing(); MessagingCenter.Subscribe<EvacuationPageModel>(this,...

View Article


ArcGis : CreateModel from Uri

I have an application dealing with the loading of a model... Here is my code : if (Device.RuntimePlatform == Device.Windows) { modelSymbol = await ModelSceneSymbol.CreateAsync(new...

View Article


cannot initialize list collection

Unable to cast object of type 'System.RuntimeType' to type 'Mono.Debugger.Soft.TypeMirror'. to _list var _list= new ObservableCollection { new...

View Article

Token authentication implementation with Xamarin. Forms & WCF REST Services

Hi, We are working on Xamarin. Forms application to support Android & iOS Platforms and our app uses WCF REST Services(json) to retrieve and save the online data's from database server. Previously...

View Article

How to allign grid to the right of the screen

Hi All I'm building a numeric keypad with Xamarin forms, I have a grid inside a stacklayout. Currently the bank of buttons display off center to the left of the screen and I'm trying to get them to...

View Article


Can I create a StackLayout in xaml e place it in a Grid in code behind?

I'm trying to place a StackLayout create in .xaml file into a Grid created in code-behind. Is it possile? I tried to place StackLayout in in <Content.Resources> but it doesn't work.

View Article

CameraPreview not found in namespace

developer.xamarin.com/guides/xamarin-forms/application-fundamentals/custom-renderer/view/#Consuming_the_Custom_Control Hi, i'm folowing this guide but i'm stuck on creating the "Custom renderers"...

View Article

Index '1' is greater than the number of rows '0'. (XF 240-Pre1 iOS)

Just updated to 240-pre1 and now I cannot add items to an observable collection bound to a ListView with Uneven Rows and Groups. Have only tried iOS so far. ObservableCollection<Group>...

View Article


Country, city, zip code auto complete

Hello every one, i want to put in my sign in of my application a country picker, how to do that? Using api or nuget ? With country and zipcode i can found city, how to do that? Api or nuget? I'm...

View Article


Is there any QR code scanner plugin for android, iOS, windows RT and windows...

We require a plugin which should run on android, iOS, windows RT and windows phone device. Any plugin or help is appreciated.

View Article

Image may be NSFW.
Clik here to view.

Displaying form posting in new WebView.

I'm back. Sorry guys. I'm working on serializing an object to Json and then using that as post data. That post data is sent via HttpWebRequest and the HttpWebResponse returns HTML. I want that HTML to...

View Article

[Prism] Cant't set bindable properties for CustomView

I made a test custom view called TestEntryCell. This view has 2 bindable properties, Label and Text: [XamlCompilation(XamlCompilationOptions.Compile)] public partial class TestEntryCell : ViewCell {...

View Article

Image may be NSFW.
Clik here to view.

Xamarin Forms iOS11 Large Title text Extra Blank space

Hi All, I am trying to update my app to support iOS 11 Large Texts feature. In my custom Navigation Page renderer I have set NavigationBar.PrefersLargeTitles = true; The Large Title texts are displayed...

View Article


DisplayActionSheet with Button ID

Hi, In below ActionSheet.. var action = await DisplayActionSheet ("ActionSheet: SavePhoto?", "Cancel", "Delete", "Photo Roll", "Email"); How can I set an ID for every button, e.g. D for Delete, P for...

View Article

How to create button pressed effect?

Hello, I need to create a button/image/whatever that changes image while pressed to create the button pressed effect. How can i get to the 'while pressed' state? Even if using custom renderers, i cant...

View Article


Xamarin Forms Map - How to know when the map is full loaded and displayed?

Hi, I really need to know when the map is either full loaded or displayed but I cannot find anything anything about it, why? Do you have any idea about an event or something like that? Thank for any...

View Article

Get by ContentPage data from ContentView

I include in a ContentPage a ContentView and this run good. But how can i get value from entry in the contentview? ContentView: <AbsoluteLayout x:Name="ObjectSearchWindow" IsVisible="true"...

View Article


NavigationPage, PushModalAsync and back button

Its a Xamarin Forms app that I'm testing in android. I have a tabbed page with a list item, when user clicks in list item I show a modal new page. Shomething like private void...

View Article

TableView bottom space

Hi, I have a view with with a StackLayout, in it I inserted a Table View and after that a Label. Now after the tableview there is a lot of blank space. How can I remove it? Here is the code that I'm...

View Article

Xamarin Forms Free AOP Library

I am looking to implement logging functionality to my Xamarin.Forms application. I heard about MetroLog which seem to be interesting; however, I dont like the fact that a clean method like in example...

View Article
Browsing all 89864 articles
Browse latest View live


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