NSKeyValueObservingOptions Enum
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.
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
Name | Value | Description |
---|---|---|
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. |
Initial | 4 | Use this to send a notification on first use, without waiting for an actual change to take place. |
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. |