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

How to programmatically set the placeholder color for a disabled Entry on UWP?

Can anybody tell me please how to specify the color of the placeholder for an Entry that is disabled on UWP? I know I can workaround it by placing another View over the top of the Entry, but it would...

View Article


How to get Local time for a specific zone using .NET Standard?

Hi, I am using this in C# but I want to get the same in Xamarin in order to get the current time for Dubai. How to achieve that? I tried the same code but getting: System.TimeZoneNotFoundException:...

View Article


How do I validate a number in my app?

Hi guys, in my project I have simple number input where users can type their number in. How can I check if their number is correct? Do you guys know an API for this, maybe for sending or something? Has...

View Article

Disable device back button

Hi all. Any one know how to disable device back button in xamarin forms app? Thanks Lasantha

View Article

Is possible to avoid slow startup time of xf app on Android in this way?

I made a big xamarin form app for ios and android, all is working great, but on Android app take till 8 seconds to starts. I already try to use XAML Compilation and AOT...the AOT gain 2seconds, but it...

View Article


how to disable or remove copy and back icon from the Xamarin forms picker

I have a picker with 3 options , when it slides up, it comes with previous , next and copy icon, when clicked on copy icon, previous and next button gets activated and on click of those, app crashes...

View Article

How to update the UI label value from backend page without refreshing the page?

Hey, I am working on a project where in xaml page it has a label and by binding the property associate value is showing. There is an entry field that accepts the value and send to server and in the...

View Article

Connect to sql Server

I need connect to sql server resident on local server Can anyone help me? Thanks i use: string connectionString = @Server=192.168.1.22;Database=DB_DATI_UBIK_STORE_PRO;User...

View Article


How to restrict numeric values entered into an Entry field.

I need to restrict the value being typed into an Entry field to values between 0 and 20. However, I don't want highlight it in red if it's outside that range or anything, I want to actually prevent the...

View Article


How to force a refresh of a page?

I have a page with a 'button' (actually a TapGestureRecognizer on a StackLayout). When pressed I add or remove some things from another StackLayout in the page. The problem is that on Android after...

View Article

How to programmatically set the placeholder color for a disabled Entry on UWP?

Can anybody tell me please how to specify the color of the placeholder for an Entry that is disabled on UWP? I know I can workaround it by placing another View over the top of the Entry, but it would...

View Article

How to get Local time for a specific zone using .NET Standard?

Hi, I am using this in C# but I want to get the same in Xamarin in order to get the current time for Dubai. How to achieve that? I tried the same code but getting: System.TimeZoneNotFoundException:...

View Article

How do I validate a number in my app?

Hi guys, in my project I have simple number input where users can type their number in. How can I check if their number is correct? Do you guys know an API for this, maybe for sending or something? Has...

View Article


ListView.Behaviors and Prism DelegateCommand problems

After hours of searching and trying I couldn't get the following to work. Expected behavior: Tap on a item in a list once, navigate to a page. Tap 2-3 times (or more) on the same item quickly, still...

View Article

'Resource.Style' does not contain a definition for 'Main.Theme'

Getting this error while trying to use xamarin live player. Any ideas how to solve it?

View Article


How do I assign list of values to property in xaml?

I've made a custom control that has a property of list type: MyMenu.cs [ContentProperty("MyMenuItems")] public class MyMenu : View { public List<MyMenuItem> MyMenuItems { get; set; } } And I want...

View Article

Spam

@DavidOrtinau @Jingleton how is it possible that no one is able to block all these spams? I have my email full of these China email...

View Article


PopToRootAsync is not supported globally on Android, please use a...

Hi, Does anyone have any additional information regarding how I might work around the "PopToRootAsync is not supported globally on Android, please use a NavigationPage." error? The same code works...

View Article

Can I set multiple styles to an element?

I tried with comma: <ContentPage.Resources> <ResourceDictionary> <Style x:Key="large" TargetType="Label"> <Setter Property="FontSize" Value="Large" /> </Style> <Style...

View Article

Xamarin.Forms.Maps android error!!

Hola!!! I'm starting with Xamarin maps, using Microsoft documents to guide me, in IOS the map loads well, but in Android I get an error Java.Lang.IllegalStateException has been thrown (line 19-... "...

View Article
Browsing all 77050 articles
Browse latest View live


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