UIKit.UIBarButtonItem.Action Property
The action sent to the object specified as the target.

Syntax

[get: Foundation.Export("action")]
[set: Foundation.Export("setAction:")]
public virtual ObjCRuntime.Selector Action { get; set; }

Value

This value can be null.

Remarks

A target and action are an Objective-C mechanism for allowing a method in some object, the target, to be called for some action. Objective-C uses message sending, where the message includes a selector that equates to the name of the method to call. This is basically another way of handling the button being pressed.

Requirements

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