UIBarButtonItem.Target 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 object that will receive the selector specified in the Action property.
public virtual Foundation.NSObject Target { [Foundation.Export("target", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [Foundation.Export("setTarget:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
member this.Target : Foundation.NSObject with get, set
Property Value
This value can be null
.
- Attributes
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.