UIKit.UIViewController.PrepareForSegue Method
Informs the application that a UIKit.UIStoryboardSegue is about to be executed.

Syntax

[Foundation.Export("prepareForSegue:sender:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual void PrepareForSegue (UIStoryboardSegue segue, Foundation.NSObject sender)

Parameters

segue
The UIKit.UIStoryboardSegue that is about to be executed.
sender
The object that initiated the segue.

Remarks

Application developers can override this method to send data to the UIKit.UIViewController that is the UIStoryboardSegue.DestinationViewController. Application developers may use the UIStoryboardSegue.SourceViewController or the sender to further determine the context in which the segue is occurring.

Requirements

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