private void AnimationCompleted(object sender, EventArgs e)
 {
     Syncfusion.XForms.EffectsView.SfEffectsView effectsView = sender as Syncfusion.XForms.EffectsView.SfEffectsView;
     if (effectsView.ScaleFactor == 0.85)
     {
         effectsView.ScaleFactor = 1;
     }
     else
     {
         effectsView.ScaleFactor = 0.85;
     }
 }
        private void FirstView_SelectionChanged(object sender, EventArgs e)
        {
            Syncfusion.XForms.EffectsView.SfEffectsView effects = sender as Syncfusion.XForms.EffectsView.SfEffectsView;
            var childGesture = ((effects?.Content) as Image)?.GestureRecognizers;

            if (effects.IsSelected && effects.LongPressEffects.HasFlag(SfEffects.Scale | SfEffects.Selection))
            {
                view.LongPressEffectsValue = SfEffects.None;
                view.TouchDownEffectsValue = SfEffects.Scale | SfEffects.Selection;
            }

            if (childGesture.Count == 0 && effects.IsSelected)
            {
                tapGesture                  = new TapGestureRecognizer();
                tapGesture.Tapped          += TapGestureRecognizer_Tapped;
                tapGesture.CommandParameter = effects;
                childGesture.Add(tapGesture);
            }

            if (childGesture.Count > 0 && !effects.IsSelected)
            {
                var child = childGesture;
                (child[0] as TapGestureRecognizer).Tapped -= TapGestureRecognizer_Tapped;
                childGesture.RemoveAt(0);
                effects.ScaleFactor = 0.85;
            }

            if (!firstView.IsSelected && !secondView.IsSelected &&
                !thirdView.IsSelected && !fourthView.IsSelected &&
                !fifthView.IsSelected && !sixthView.IsSelected)
            {
                view.ScaleFactorValue      = 0.85;
                view.TouchDownEffectsValue = SfEffects.None;
                view.LongPressEffectsValue = SfEffects.Scale | SfEffects.Selection;
            }
        }
 public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
     Syncfusion.XForms.EffectsView.SfEffectsView effectsView = parameter as Syncfusion.XForms.EffectsView.SfEffectsView;
     return(effectsView.ScaleFactor == 1);
 }