Edytuj

Udostępnij za pośrednictwem


RootElement.createOnSelected Field

Definition

Delegate invoked when the RootElement is tapped.

public Func<MonoTouch.Dialog.RootElement,UIKit.UIViewController> createOnSelected;
val mutable createOnSelected : Func<MonoTouch.Dialog.RootElement, UIKit.UIViewController>

Field Value

Remarks

If this value is not null, the delegate is invoked when the RootElement is tapped on. The return value should be a UIViewController that will be displayed in response to the tap. If the value is null, the code returns new DialogViewController initialized like this:

new DialogViewController (this, true) { Autorotate = true; }.

Applies to