UIKit.UIViewController.IsBeingDismissed Property
true if the current UIKit.UIViewController is in the process of being dismissed.

Syntax

[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
[get: Foundation.Export("isBeingDismissed")]
[get: ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual bool IsBeingDismissed { get; }

See Also

UIViewController.ViewWillDisappear
UIViewController.ViewDidDisappear

Value

true only if called during the execution of UIViewController.ViewWillDisappear or UIViewController.ViewDidDisappear

Remarks

The dismissal process is bookended by the functions UIViewController.ViewWillDisappear and UIViewController.ViewDidDisappear. While those are executing, this property will return true, at all other times, it will return false.

Requirements

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