UIKit.UIControl.AddTarget Method
Adds an event handler for the specified set of events.

Syntax

public void AddTarget (EventHandler notification, UIControlEvent events)

Parameters

notification
EventHandler to invoke.
events
Event mask that will trigger the event to be invoked.

Remarks

The notification handler will be invoked when the control receives any of the events listed in the events mask. The

Requirements

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