xamarin.windows

Xamarin.forms i want to upload image on same page

北城余情 提交于 2019-12-25 07:17:20
问题 i am uploading my image by using plugins.media but the problem is it redirect to another photoimage page and upload it there. var profiletap = new TapGestureRecognizer(); profiletap.Tapped += async (s, e) => { var file = await CrossMedia.Current.PickPhotoAsync(); if (file == null) return; await DisplayAlert("File Location", file.Path, "OK"); ImageSource im = ImageSource.FromStream(() => { var stream = file.GetStream(); file.Dispose(); return stream; }); await Navigation.PushModalAsync(new

Xamarin.forms i want to upload image on same page

烂漫一生 提交于 2019-12-25 07:16:02
问题 i am uploading my image by using plugins.media but the problem is it redirect to another photoimage page and upload it there. var profiletap = new TapGestureRecognizer(); profiletap.Tapped += async (s, e) => { var file = await CrossMedia.Current.PickPhotoAsync(); if (file == null) return; await DisplayAlert("File Location", file.Path, "OK"); ImageSource im = ImageSource.FromStream(() => { var stream = file.GetStream(); file.Dispose(); return stream; }); await Navigation.PushModalAsync(new

How do I change the Title Background color On Windows Platform (Xamarin)

柔情痞子 提交于 2019-12-12 03:40:30
问题 Screen Shot I am developing an application using Xamarin Forms in Visual Studio 2013. I have managed to change the Header Background color for Android but I am failing to do the same for Windows project. It comes with the Default Dark theme. Please Assist me. Thank You 回答1: NavigationPage.BarBackgroundColorProperty Works! Thank You for your suggestions. 回答2: Your question is not very clear to me, but I think that this is what you mean. With "Header Background color" I think you mean the

Winphone project type is not supported in Visual studio 2017

不羁的心 提交于 2019-12-11 07:58:58
问题 I have an existing xamarin native project and It has myproj.iOS myproj.Droid myproj.WinPhone I uninstalled my visual studio 2015 and installed Visual studio 2017 Now in the solution explorer I can see it clearly says myproj.WinPhone (incompatible) I am aware Microsoft is pushing for UWP but I still want to do as I was doing earlier like supporting windows 8.1 etc.. Is it possible to downgrade this to 2015 so that I can still do myproj.WinPhone ? Or is there anyother way that will solve this

How do I access cookies in a Xamarin WebView?

浪尽此生 提交于 2019-12-10 11:09:27
问题 In our Xamarin app, we need to allow our users to log in using their own SSO solution. The way this works in our iOS app is that we open up a controller with a web view and point it at our site, and keep watching the cookies until they're back on our site with the cookie that indicates that they're logged in. But in Xamarin, I can't see how I can access the cookies for the WebView. Our Xamarin app is running on Windows 8.1 and WinPhone 8.1, but it will be extended to Android at some point so

ScrollView not working on touch in Xamarin.UWP

三世轮回 提交于 2019-12-08 12:08:36
问题 I am trying to set the AbosoluteLayout.TranslatedTo for ContentView which contains the ScrollView. In that, ScrollView not working on touch but it is working on the Mouse interaction. I added the code in C# as propertiesView.TranslateTo(propertiesView.Width / 2, 0, 400, Easing.Linear); If I didn't use the AbsoluteLayout.TranslatedTo means ScrollView working on both interactions. How to resolve the problem? Here my code <AbsoluteLayout x:Name="absoluteLay" VerticalOptions="FillAndExpand"

How do I access cookies in a Xamarin WebView?

笑着哭i 提交于 2019-12-06 06:34:30
In our Xamarin app, we need to allow our users to log in using their own SSO solution. The way this works in our iOS app is that we open up a controller with a web view and point it at our site, and keep watching the cookies until they're back on our site with the cookie that indicates that they're logged in. But in Xamarin, I can't see how I can access the cookies for the WebView. Our Xamarin app is running on Windows 8.1 and WinPhone 8.1, but it will be extended to Android at some point so I need a cross-platform solution. So, how do I access cookies in a Xamarin WebView? You need to create