private async void AnimateNext(AccordionItem control)
        {
            _isBusy = true;
            await control.AnimateYAsync(GetTopBound());
            _isBusy = false;

            if (!control.IsUp)
            {
                control.IsUp = true;
                this.SelectedIndex++;
            }
        }
Пример #2
0
        private async void AnimatePrev(AccordionItem control)
        {
            _isBusy = true;
            await control.AnimateYAsync(0);

            _isBusy = false;

            if (control.IsUp)
            {
                control.IsUp = false;
                this.SelectedIndex--;
            }
        }
Пример #3
0
        private async void AnimateNext(AccordionItem control)
        {
            _isBusy = true;
            await control.AnimateYAsync(GetTopBound());

            _isBusy = false;

            if (!control.IsUp)
            {
                control.IsUp = true;
                this.SelectedIndex++;
            }
        }
        private async void AnimatePrev(AccordionItem control)
        {
            _isBusy = true;
            await control.AnimateYAsync(0);
            _isBusy = false;

            if (control.IsUp)
            {
                control.IsUp = false;
                this.SelectedIndex--;
            }
        }