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

Why do I still need a googlemaps API key when I am creating a custom map?

I'm am using xamarin forms maps. So I am creating a custom render for android that will pull tiles from a tile server such that I do not need to use google for maps. I have used the following...

View Article


Hot reload coming to Xamarin Forms

https://devblogs.microsoft.com/xamarin/xaml-hot-reload/ Pretty awesome they've listened to community feedback

View Article


Pre-Release: Xamarin.Forms 4.2.0-pre1

We've published the 4.2.0-pre1 pre-release of Xamarin.Forms on NuGet; be sure to include pre-releases in your NuGet Package Manager in order to make the package visible. If you encounter any issues or...

View Article

call native method from PCL failing Xamarin.From > 4

When trying to call a native method from my Shared Project (.NET Standard 2.0) to my iOS project. It not entering the CallToNativeMethod on my iOS project when using Xamarin.Forms version 4 or up. I...

View Article

How can I set and get a selected value in my custom picker? The value is not...

How can I get the selected item of my custom picker? It always goes back to the initial state I tried in several ways and I only had to question. public class MyDelegate : UIPickerViewDelegate {...

View Article


Dynamically loading Shell TabBar Tabs

Hi, Attached VS2019 (Windows) Shell solution is loading TabBar Tabs dynamically. The issue is TabBar.Tab.Items.Clear() results in page not loading in iOS, and in Android only one of the 2 tabs has...

View Article

How to binding property in a behavior?

In xaml file: <Picker x:Name="picker_cadastronotificacao_tipotelefone" Title="{x:Static local:AppResources.picker_cadastronotificacao_tipotelefone}" Style="{StaticResource Picker}"...

View Article

Force Shell to Rerender - Respond to a DynamicResource Color change

I have the MainShell color resource as a DynamicResource. When I change the color, some of the tabs and navigation pages update their color, some don't. I have to 'click around' a bit on tabs and...

View Article


Picker does not display Title or selected item when loading

Hi, I can't get the Picker control to show default "Select a language" text, nor does it display the default value set in code-behind. What am I missing? See AboutPage.xaml and AboutViewModel.cs in...

View Article


Data Annotation Validation from .net Standard Class Library

Hi Team, I have class library in .net Standard 2.0 with EntityFrameworkCore. I have created class with Custom Data Annotation as below: Model Definition public class UserLogin : NotificationObject {...

View Article

How to display Gregorian date in DatePicker instead of Hijri when culture is...

My app is dual-language, English and Arabic, and when the culture is set to Arabic the date shows as Hijri. How can I force the datepicker to show the Gregorian date?

View Article

Can DependencyService be used in Multiplatform library project?

Can DependencyService be used in a Multiplatform library project - to call platform specific code?

View Article

Image may be NSFW.
Clik here to view.

Uplode image to web service

Hello guys i am trying to uplode image i got the image and everything is fine but i want to send the file to my web service c# witch recive the file and user id parmtar please if any one could help me...

View Article


Is there any way to access the native control in Xamarin.Forms at runtime?

For instance in NativeScript I can myControl.ios. // Access the native control myControl.android. // Access the native control anywhere. Is there any way to access the native control in Xamarin.Forms...

View Article

Passing values between 2 opened pages

Hey, so in my application I am using Master and Detail page. When Detail page opens I will go to the Master (slides from the left side) and I check checkbox. I want that value pass to my Detail page....

View Article


Shell navigation routing Query properties are null

Query properties are null while using shell gotoasync await Shell.Current.GoToAsync($"userDetails?id={id}"); UserDetailsViewModel: [QueryProperty("Id", "id")] public class UserDetailsViewModel :...

View Article

How to change status bar color in iOS?

I would like to change the status bar background color and text color in iOS to match android. I found options like this one: MainPage.SetValue(NavigationPage.BarBackgroundColorProperty, Color.Black);...

View Article


Xamarin.Forms.GoogleMaps cannot derive from sealed type pin. Trying to add...

I am currently trying to add custom properties to my pin class, and I have to use xamarin.forms.google.maps because of its "Selected pin" event. public class Pin : Xamarin.Forms.GoogleMaps.Pin //...

View Article

Xamarin Forms (Android) crashing with Master and Detail must be set before...

I am getting the following error in my app: "Master and Detail must be set before adding MasterDetailPage to a container" This only happens when I build the app with "Use LLVM Optimizing Compiler"...

View Article

How can I setup icons in my menu?

Hello, I am working on a project that I would like to eventually try to release as an IOS app as well as android. I'm using the PCL code to build the bulk of my code, which is leading me to several...

View Article
Browsing all 89864 articles
Browse latest View live


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