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

XF 4: CollectionView GridItemsLayout with bindable Span property

When I try and bind the GridItemsLayout Span property to the ViewModel, it doesn't work. See sample project (open CollectionViewPage from landing page):...

View Article


Visual Studio 2019 Preview 2: Can't create Windows UWP project using...

Hello, I'm learning to develop both Windows(UWP) and Android app using Xamarin.Forms. When I heard the news that Visual Studio 2019 Preview 2 came to availability, I decided to give it a try. However,...

View Article


Drag and drop ListView item

Hey all, I'm trying to make a Content View where a person can take an item from a ListView, drag it to an image and trigger an event that will delete the item from the ListView. I've been fishing...

View Article

element is not of type xamarin.forms.view Error When starting Blank Xaml App

It's began after Xamarin updating After creating Xamarin forms (Blank Xaml App) project in VS2015 I'm trying to start this project in debug mode with out any changes. And, in the time of starting...

View Article

Camera Plugin.Media.Abstractions.StoreCameraMediaOptions always rotated...

var file = await CrossMedia.Current.TakePhotoAsync(new Plugin.Media.Abstractions.StoreCameraMediaOptions { SaveToAlbum = true, SaveMetaData = true, Directory = "", MaxWidthHeight = 1500,...

View Article


Cannot set some properties of a Label within a different thread (Task.Run) in...

Maybe this doesn't have anything to do with Xamarin, just tesing my understanding of tasks in general I think. I have a task that creates a label among other things and it is in a task so I can keep...

View Article

Dynamic ItemDisplayBinding for Picker.

The Picker has ItemDisplayBinding property to set Itemsource's property name to display by using this "{Binding PropertyA}" syntax. But I have UI conditions that relating with changing property name to...

View Article

Resolve dependency injection

From outside the App - what is the most elegant way to resolve a dependency injection var service = (IMyService) ((PrismApplicationBase) Application.Current).Container.Resolve(typeof(IMyService));

View Article


Can someone please tell me why my pins are not showing on the map?

I am trying to populate a map with locations obtained from an API but it is proving very problematic. When I create a pin from the code behind it shows fine, but it does not show when I use xaml. I...

View Article


Resolve dependency injection

From outside the App - what is the most elegant way to resolve a dependency injection var service = (IMyService) ((PrismApplicationBase) Application.Current).Container.Resolve(typeof(IMyService));

View Article

Can Xamarain.Forms design the view of DisplayActionSheet or ListView's...

as Title,if it's possible. How to set these views Color or FontSize,even design those Layout?

View Article

Webservice call gets abruptly cancelled when app goes to background and comes...

For a registration page , on click of register it calls the rest API to register the user. But after clicking on register if i goes to background and comes to foreground it throws web exception that...

View Article

how to create badge in tabbedpage ?

how to create badge in tabbedpage ?

View Article


"Set Next Statement" support in Visual Studio for Xamarin Forms projects - Is...

I can't seem to find a Visual Studio setting to enable "Set Next Statement" debugging feature. I've read old posts suggesting it's not supported, is that correct?

View Article

change color barBackgroundColor from MasterDetailPage

I would like to know if it is possible to change the color of the "barBackgroundColor" of the "navigationPage", what happens is that I have a page where it has a list of colors and when you choose a...

View Article


Dynamically Add ToolbarItems from a button tap

I have a page where I need to display toolbar items only when a button on the screen has been tapped. So far I have the following methods:- private async Task ClearToolBarItems() { var page =...

View Article

Image may be NSFW.
Clik here to view.

Bindable Grid in Xamarin.Forms

Hello! I'm creating a small 2048 clone to practise Xamarin.Forms with MVVM, and I've got a trouble with binding a Row and Column of each square to Grid. Currently I'm using this ItemsControl: https...

View Article


why my listview cant scroll till the end of list items? i have 26 items but...

<c:BasePage.Content> <Grid.RowDefinitions> </Grid.RowDefinitions> <ScrollView> <StackLayout> <ListView HorizontalOptions="FillAndExpand" SelectionMode="None"...

View Article

Tap gesture on a stacklayout fires for each of the child views. Is there a...

//I know the code can be more elegant - just for explanation purposes //Showmenu() fires for as many Labels as I put in the stack (Android and iOS). It is a shared project. Forms 3.6.0.293080 for (int...

View Article

Read value from a Bluetooth Characteristic value

Hi all, I can easily read the Characteristic value from my Xiaomi band 3. The value of current time. I used the LightBlue app to connect to it and can see the Datetime value of this device. From my...

View Article
Browsing all 77050 articles
Browse latest View live


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