MonobjcMonobjc Documented Class Library
NSViewBoundsDidChangeNotification Field
NamespacesMonobjc.AppKitNSViewNSViewBoundsDidChangeNotification

Posted whenever the NSView’s bounds rectangle changes independently of the frame rectangle, if the NSView is configured using setPostsBoundsChangedNotifications: to post such notifications.

The notification object is the NSView object whose bounds rectangle has changed. This notification does not contain a userInfo dictionary.

The following methods can result in notification posting:

setBounds:setBoundsOrigin:setBoundsRotation:setBoundsSize:translateOriginToPoint:scaleUnitSquareToSize:rotateByAngle:

Note that the bounds rectangle resizes automatically to track the frame rectangle. Because the primary change is that of the frame rectangle, however, setFrame: and setFrameSize: don’t result in a bounds-changed notification.

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static readonly NSString NSViewBoundsDidChangeNotification
Public Shared ReadOnly NSViewBoundsDidChangeNotification As NSString
public:
static initonly NSString^ NSViewBoundsDidChangeNotification
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)