Exemplo n.º 1
0
        internal bool SendPinClicked(Pin pin)
        {
            var args = new PinClickedEventArgs(pin);

            PinClicked?.Invoke(this, args);
            return(args.Handled);
        }
        private void Element_PinClicked(object sender, Xamarin.Forms.GoogleMaps.PinClickedEventArgs e)
        {
            //..
            var root = ((Windows.UI.Xaml.Controls.ContentControl)e.Pin.NativeObject).ContentTemplateRoot as Windows.UI.Xaml.Controls.StackPanel;

            ((Windows.UI.Xaml.Controls.StackPanel)root.Children[0]).Opacity = 0;
        }