UIKit.UIViewController.ShouldPerformSegue Method
Whether the segue should be performed.

Syntax

[Foundation.Export("shouldPerformSegueWithIdentifier:sender:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_6_0)]
public virtual bool ShouldPerformSegue (string segueIdentifier, Foundation.NSObject sender)

Parameters

segueIdentifier
The segue about to be performed.
sender
The object that initiated the segue.

Returns

true if the segue should be allowed to perform, false if not.

Remarks

Application developers may override this function so that it returns false in order to disable certain segues from executing.

Requirements

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