Ejemplo n.º 1
0
        private void Eff_ScrollChanged(object arg1, XFUtils.Effects.ScrollEventArgs e)
        {
            this.Title = $"ScrollY = {e.Y}";

            var scale = 2.5;

            if (e.Y < 1)
            {
                HeaderImage.TranslationY = 0;
            }
            else
            {
                HeaderImage.TranslationY = (int)e.Y / scale;
            }
        }
Ejemplo n.º 2
0
 private void Eff_ScrollChanged(object sender, XFUtils.Effects.ScrollEventArgs args)
 {
     // send a message to the cell that the scroll position has changes
     MessagingCenter.Send(new ScrollMessage(), ScrollMessage.ScrollChanged, args.Y);
 }
Ejemplo n.º 3
0
 void ScrollEffect_ScrollChanged(object arg1, XFUtils.Effects.ScrollEventArgs arg2)
 {
     PositionElements(arg2.Y);
 }