Example #1
0
        /// <summary>
        /// Scroll to first cell of the form that violate its rules
        /// </summary>
        private void ScrollToFirstInvalidValue()
        {
            if (!UseScrollView)
            {
                return;
            }

            foreach (var item in FormChildren.DictionaryElements)
            {
                if (!item.Check())
                {
                    FormBodyScrollContainer.ScrollToAsync(item, ScrollToPosition.Start, true);
                    break;
                }
            }
        }
Example #2
0
 public Task ScrollToItem(View item, ScrollToPosition position, bool animated)
 {
     return(FormBodyScrollContainer?.ScrollToAsync(item, position, animated));
 }