xamarin.forms

Xamarin Forms Maps - how to refresh/update the map - CustomMap Renderer

不羁岁月 提交于 2020-12-28 21:28:07
问题 If you are searching for a full polylines, pins, tiles, UIOptions (and 3D effects soon) renderings/implementations, you should take a loot at the public github I made at XamarinByEmixam23/..../Map . I search a lot but I still have the same problem: How can I update, refresh or reload the Xamarin.Forms.Maps? In the class definition (class CustomMap : Map), there is no method to update the maps.. Maybe a MVVM logic can solves the problem, but I can't find it on the Web.. I followed this

Xamarin Forms Maps - how to refresh/update the map - CustomMap Renderer

大兔子大兔子 提交于 2020-12-28 21:27:53
问题 If you are searching for a full polylines, pins, tiles, UIOptions (and 3D effects soon) renderings/implementations, you should take a loot at the public github I made at XamarinByEmixam23/..../Map . I search a lot but I still have the same problem: How can I update, refresh or reload the Xamarin.Forms.Maps? In the class definition (class CustomMap : Map), there is no method to update the maps.. Maybe a MVVM logic can solves the problem, but I can't find it on the Web.. I followed this

Xamarin Forms Maps - how to refresh/update the map - CustomMap Renderer

岁酱吖の 提交于 2020-12-28 21:26:46
问题 If you are searching for a full polylines, pins, tiles, UIOptions (and 3D effects soon) renderings/implementations, you should take a loot at the public github I made at XamarinByEmixam23/..../Map . I search a lot but I still have the same problem: How can I update, refresh or reload the Xamarin.Forms.Maps? In the class definition (class CustomMap : Map), there is no method to update the maps.. Maybe a MVVM logic can solves the problem, but I can't find it on the Web.. I followed this

How to use Font Awesome icons in project as an icon of ImageButton

我们两清 提交于 2020-12-26 12:14:40
问题 I am having a problem to realize how to use Font Awesome icons in my Xamarin application, I want to use it with ImageButton as icon. And most tutorials I found didn't help me understand how it works. 回答1: As explained in Microsoft Documentation: You need to first to have the font file I believe .ttf (or .otf). Add it to your shared project. Right click on the file and click on "properties", then set it build action to Embedded Resource . Export it with a friendly alias name in your

Does a <StackLayout> have some default padding or spacing?

你说的曾经没有我的故事 提交于 2020-12-26 10:57:27
问题 I tried to enclose two StackLayout's inside another StackLayout, but seems like there is some additional padding somewhere. Is there a default padding and if so how could I remove it for the outer StackLayout? 回答1: There's no Padding. There's a Spacing of 6 between each item (Horizontal or Vertical depending on Orientation). 来源: https://stackoverflow.com/questions/46813025/does-a-stacklayout-have-some-default-padding-or-spacing

Center align toolbar items in Xamarin Forms

好久不见. 提交于 2020-12-25 18:01:54
问题 I have a content page with toolbar added as follows ContentPage [XamlCompilation(XamlCompilationOptions.Compile)] public partial class ChartList : ContentPage { public ChartList () { InitializeComponent (); //public class ToolbarItem : MenuItem ToolbarItem settings = new ToolbarItem { Icon = "icon.png", Text = "Settings", Command = new Command(this.ShowHomePage), }; this.ToolbarItems.Add(settings); } private void ShowHomePage() { this.Navigation.PushAsync(new MainPage()); } } App.Xaml.cs

How to enable zoom in and zoom out on a contentpage in xamarin forms?

风流意气都作罢 提交于 2020-12-25 11:10:32
问题 How can I enable zoom on a contentpage in xamarin forms? Is it possible to enable it on the entire contentpage? Or is it only possible to zoom in on images? 回答1: On the latest features of Xamarin.Forms is pinch gesture inside a ContentPage, here is the official page: https://developer.xamarin.com/guides/xamarin-forms/user-interface/gestures/pinch/ and for the entire project sample: https://github.com/xamarin/xamarin-forms-samples/tree/master/WorkingWithGestures/PinchGesture Here is an example

How to enable zoom in and zoom out on a contentpage in xamarin forms?

喜夏-厌秋 提交于 2020-12-25 11:02:04
问题 How can I enable zoom on a contentpage in xamarin forms? Is it possible to enable it on the entire contentpage? Or is it only possible to zoom in on images? 回答1: On the latest features of Xamarin.Forms is pinch gesture inside a ContentPage, here is the official page: https://developer.xamarin.com/guides/xamarin-forms/user-interface/gestures/pinch/ and for the entire project sample: https://github.com/xamarin/xamarin-forms-samples/tree/master/WorkingWithGestures/PinchGesture Here is an example

How to enable zoom in and zoom out on a contentpage in xamarin forms?

空扰寡人 提交于 2020-12-25 10:59:28
问题 How can I enable zoom on a contentpage in xamarin forms? Is it possible to enable it on the entire contentpage? Or is it only possible to zoom in on images? 回答1: On the latest features of Xamarin.Forms is pinch gesture inside a ContentPage, here is the official page: https://developer.xamarin.com/guides/xamarin-forms/user-interface/gestures/pinch/ and for the entire project sample: https://github.com/xamarin/xamarin-forms-samples/tree/master/WorkingWithGestures/PinchGesture Here is an example

How to enable zoom in and zoom out on a contentpage in xamarin forms?

帅比萌擦擦* 提交于 2020-12-25 10:58:24
问题 How can I enable zoom on a contentpage in xamarin forms? Is it possible to enable it on the entire contentpage? Or is it only possible to zoom in on images? 回答1: On the latest features of Xamarin.Forms is pinch gesture inside a ContentPage, here is the official page: https://developer.xamarin.com/guides/xamarin-forms/user-interface/gestures/pinch/ and for the entire project sample: https://github.com/xamarin/xamarin-forms-samples/tree/master/WorkingWithGestures/PinchGesture Here is an example