UIViewController.IsBeingDismissed Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
true
if the current UIViewController is in the process of being dismissed.
public virtual bool IsBeingDismissed { [Foundation.Export("isBeingDismissed")] get; }
member this.IsBeingDismissed : bool
true
only if called during the execution of ViewWillDisappear(Boolean) or ViewDidDisappear(Boolean)
- Attributes
The dismissal process is bookended by the functions ViewWillDisappear(Boolean) and ViewDidDisappear(Boolean). While those are executing, this property will return true
, at all other times, it will return false
.
Producto | Versiones |
---|---|
Xamarin iOS SDK | 12 |
- <xref:UIKit.UIViewController.ViewWillDisappear>
- <xref:UIKit.UIViewController.ViewDidDisappear>