コード例 #1
0
        async void SwipeView_SwipeStarted(System.Object sender, Xamarin.Forms.SwipeStartedEventArgs e)
        {
            var hide = _container.ScaleY == 1;

            if (hide)
            {
                await _container.ScaleYTo(0.6, easing : Easing.SinOut);

                isOpen = true;
            }
            else
            {
                await _container.ScaleYTo(1, easing : Easing.SinOut);

                isOpen = false;
            }
        }
コード例 #2
0
 void ISwipeViewController.SendSwipeStarted(SwipeStartedEventArgs args) => SwipeStarted?.Invoke(this, args);