Share via


NSControl.Notifications Class

Definition

Notifications posted by the NSControl class.

public static class NSControl.Notifications
type NSControl.Notifications = class
Inheritance
NSControl.Notifications

Remarks

This class contains various helper methods that allow developers to observe events posted in the notification hub (NSNotificationCenter).

The methods defined in this class post events that invoke the provided method or lambda with a NSNotificationEventArgs parameter, which contains strongly typed properties for the notification arguments.

Methods

Name Description
ObserveTextDidBeginEditing(EventHandler<NSControlTextEditingEventArgs>)

Strongly typed notification for the TextDidBeginEditingNotification constant.

ObserveTextDidBeginEditing(NSObject, EventHandler<NSControlTextEditingEventArgs>)

Strongly typed notification for the TextDidBeginEditingNotification constant.

ObserveTextDidChange(EventHandler<NSControlTextEditingEventArgs>)

Strongly typed notification for the TextDidChangeNotification constant.

ObserveTextDidChange(NSObject, EventHandler<NSControlTextEditingEventArgs>)

Strongly typed notification for the TextDidChangeNotification constant.

ObserveTextDidEndEditing(EventHandler<NSControlTextEditingEventArgs>)

Strongly typed notification for the TextDidEndEditingNotification constant.

ObserveTextDidEndEditing(NSObject, EventHandler<NSControlTextEditingEventArgs>)

Strongly typed notification for the TextDidEndEditingNotification constant.

Applies to