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

ScrollView: the ScrollX/Y is at the MAX (or END)...how do we know?

I'd like to know if the ScrollView e.ScrollX/Y has reached the END (or max scroll). Any ideas? Currently I am using the ScrollView.Scrolled to trigger: private void ScrollView_Scrolled(object sender,...

View Article


Getting Error at Xamarin.Essentials.Email.ComposeAsync in Xamarin Forms Ios...

Hi all, i can't able to send email in ios using xamarin essentials.i am getting the error like Object reference not set to an instance of an object at Xamarin.Essentials.Email.GetMailToUri...

View Article


Xamarin Form iOS test using REPL

I am trying to set up a simple iOS UI test for a xamarin forms project based on the following references: https://docs.microsoft.com/en-us/appcenter/test-cloud/uitest/get-started-xamarin-forms...

View Article

MVVM -Binding Listview from viewmodel

help plz. when i run my app the screen is empty .why ?? here my code <ContentPage.ToolbarItems > </ToolbarItem> </ContentPage.ToolbarItems> <ContentPage.Content> <StackLayout...

View Article

Why triggers don't work on invisible controls?

I don't know why the DataTrigger only works when the control is visible, What I'm doing something wrong? Trigger on Visibility True <StackLayout x:Name="StackLayoutForm" IsVisible="{Binding...

View Article


Can't tell which menu item is selected on Master Detail page

I have a menu that looks like this: <ListView x:Name="listView" ItemsSource="{Binding MenuItems}" x:FieldModifier="public" Margin="5" HasUnevenRows="True" SeparatorVisibility="None"...

View Article

Suddenly can't compile for v6.0, even thought I've just tested it on a 6.0...

Good morning, I've just finished writing my project and testing it on an emulated device with v6.0 (which worked nicely), but apparently magic happened and after clicking 'Archive', I can no longer...

View Article

Image may be NSFW.
Clik here to view.

Scrollable GridLayout

Hello Guys. I need to do a layout similar to the attached image. As you can see, I will have objects stored on a database and I will dynamically load them onto my grid. The thing is, I'll have more...

View Article


iOS project referencing XamarinBuildDownloadCache

Hey. So I've been dealing with the following for the past couple hours: my iOS project (Xamarin Forms) references three .framework files inside XamarinBuildDownloadCache, and for some reason I can't...

View Article


no compatible code running

I am using windows 10, Visual studio 2017. When trying to debug the program i get: in App.cs on InitializeComponent() the message System.TypeLoadException: Could not resolve type with token 01000019...

View Article

Image may be NSFW.
Clik here to view.

How to get the id of the toggled switch item in the listview?

I have a listview and all the listview item contain a switch at the right end like below picture. When I select an item the switch fires the Toggled event. My codes are adding below: Xaml: <Switch...

View Article

How to turn on/off Wifi and Bluetooth programmatically?

How to turn on/off Wifi and Bluetooth programmatically?

View Article

Is there a way i can use the webview.postURL on xamarin.forms?

I'm creating an app wrapping my website with Xamarin.forms. I want to implement login page on my mobile app that will by pass the login on the website using webview.postURL. Does postURL works for both...

View Article


Xamarin Forms Map becomes unresponsive if used in new shell

Hello, Does anyone has this problem that when a page with forms map is used as menu item in new shell navigation, the map becomes quite unresponsive to drag events.

View Article

How to bind the logged in `player data` retrieved from database to populate...

In my Xamarin Forms app, how to bind the logged in player data retrieved from database to populate in Register.xaml view. This should be done on OnProfilePicClicked method Register.xaml...

View Article


Image may be NSFW.
Clik here to view.

Packages.Config build errors since updating Xamarin forms 3.6.0.344457

Hi, i recently updated to Xamarin Forms 3.6.0.344457 and since then, my android build no longer builds, the errors are very odd, as in, it looks like packages.config has something wrong with it. The...

View Article

Switch -> EventToCommand: Detect if Toggled from user interaction or from...

Hello, first of all, sorry for my english I have a page with a number of Switch..each switch turn on/off a remote light using webservices. To make this I used behaviors and Command in ViewModel linked...

View Article


Image Inside Picker control

Hii How to add an Image Inside picker as show below

View Article

How to disable the content when button was clicked

I need to disable the content or put an overlay in my project. I have a floating button when this floating button clicked I need to expand some images in the right corner(I did this part). Also, I need...

View Article

WebView.Navigated and ViewModel

Is it possible for to capture the Navigated Event of WebView Control in Xamarin Form when using Prism in View Model ? My Control Definition looks like following

View Article
Browsing all 77050 articles
Browse latest View live