UIKit.UIView.IsDescendantOfView Method
Returns true if this UIKit.UIView is in the view's view hierarchy.

Syntax

[Foundation.Export("isDescendantOfView:")]
public virtual bool IsDescendantOfView (UIView view)

Parameters

view
The UIKit.UIView that may be an ancestore of this UIKit.UIView.

Returns

Returns true if the view is the same as this or if the view is an ancestor of this.

Remarks

A UIKit.UIView is a descendant of another view if the views are the same or if the view can be reached by repeatedly retrieving the UIView.Superview property. This is the equivalent to specifying that this UIKit.UIView is in view's view hierarchy.

Requirements

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