NSKeyValueObservingOptions Enum

Definition

An enumeration of values specifying options to be used with the AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) method.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum NSKeyValueObservingOptions
type NSKeyValueObservingOptions = 
Inheritance
NSKeyValueObservingOptions
Attributes

Fields

Initial 4

Use this to send a notification on first use, without waiting for an actual change to take place.

New 1

Request that new values be delivered to the observer.

Old 2

Requests that old values be delivered to the observer.

OldNew 3

Requests that both old and new values be delivered to the observer.

Prior 8

If set, notifications are sent before and after the change to the property is made.   Otherwise the notifications are only sent after the property has been set.

Remarks

Applies to