UIKit.UIBarButtonItem.Target Property
The object that will receive the selector specified in the Action property.

Syntax

[get: Foundation.Export("target")]
[set: Foundation.Export("setTarget:")]
public virtual Foundation.NSObject Target { get; set; }

Value

This value can be null.

Remarks

The target will receive the message containing the selector from the Action property. This allows the target object to implement a method to handle the selector. This is basically another way of handling the UIButtonItem being pressed.

Requirements

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