Пример #1
0
        protected override void OnElementChanged(Xamarin.Forms.Platform.iOS.VisualElementChangedEventArgs e)
        {
            base.OnElementChanged(e);
            if (e.OldElement != null || this.Element == null)
            {
                return;
            }

            var scroll = NativeView as UIScrollView;

            scroll.ContentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentBehavior.Never;
        }
Пример #2
0
 protected virtual void OnElementChanged(VisualElementChangedEventArgs e)
 {
     ElementChanged?.Invoke(this, e);
 }
Пример #3
0
 protected override void OnElementChanged(Xamarin.Forms.Platform.iOS.VisualElementChangedEventArgs e)
 {
     base.OnElementChanged(e);
 }