Share via


NSTextView.Notifications Class

Definition

Notifications posted by the NSTextView class.

public static class NSTextView.Notifications
type NSTextView.Notifications = class
Inheritance
NSTextView.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
ObserveDidChangeSelection(EventHandler<NSTextViewDidChangeSelectionEventArgs>)

Strongly typed notification for the DidChangeSelectionNotification constant.

ObserveDidChangeSelection(NSObject, EventHandler<NSTextViewDidChangeSelectionEventArgs>)

Strongly typed notification for the DidChangeSelectionNotification constant.

ObserveDidChangeTypingAttributes(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidChangeTypingAttributesNotification constant.

ObserveDidChangeTypingAttributes(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidChangeTypingAttributesNotification constant.

ObserveDidSwitchToNSLayoutManager(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidSwitchToNSLayoutManagerNotification constant.

ObserveDidSwitchToNSLayoutManager(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidSwitchToNSLayoutManagerNotification constant.

ObserveWillChangeNotifyingTextView(EventHandler<NSTextViewWillChangeNotifyingTextViewEventArgs>)

Strongly typed notification for the WillChangeNotifyingTextViewNotification constant.

ObserveWillChangeNotifyingTextView(NSObject, EventHandler<NSTextViewWillChangeNotifyingTextViewEventArgs>)

Strongly typed notification for the WillChangeNotifyingTextViewNotification constant.

ObserveWillSwitchToNSLayoutManager(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillSwitchToNSLayoutManagerNotification constant.

ObserveWillSwitchToNSLayoutManager(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillSwitchToNSLayoutManagerNotification constant.

Applies to