private void SetProps() { Controls.TabScrollView scroll = Element as Controls.TabScrollView; this.HorizontalScrollBarEnabled = scroll.IsBounceEnabled; this.VerticalScrollBarEnabled = scroll.IsBounceEnabled; }
public override bool OnTouchEvent(MotionEvent ev) { Controls.TabScrollView scroll = Element as Controls.TabScrollView; if (!scroll.IsScrollEnabled) { ev.Action = MotionEventActions.Cancel; } return(base.OnTouchEvent(ev)); }