UIBarButtonItem.Action Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The action sent to the object specified as the target.
public virtual ObjCRuntime.Selector Action { [Foundation.Export("action")] get; [Foundation.Export("setAction:")] set; }
member this.Action : ObjCRuntime.Selector with get, set
Property Value
This value can be null
.
- Attributes
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.