UIKit.UIScrollView.TouchesShouldCancelInContentView Method
This method controls if the touches of a content subview should be cancelled, which would allow dragging to start.

Syntax

[Foundation.Export("touchesShouldCancelInContentView:")]
public virtual bool TouchesShouldCancelInContentView (UIView view)

See Also

UIControl
UIScrollView.CanCancelContentTouches

Parameters

view
The view object that was touched.

Returns

true if future touch events to view are to be cancelled. false if view is to receive the touch events.

Remarks

This method is called by the UIKit.UIScrollView after the application user touches the screen but before tracking begins. If not overridden, returns true if the view is a subtype of UIKit.UIControl, otherwise, it returns false. This method is not called at all if UIScrollView.CanCancelContentTouches returns false.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0