MonobjcMonobjc Documented Class Library
CancelButtonRectForBounds Method (rect)
NamespacesMonobjc.AppKitNSSearchFieldCellCancelButtonRectForBounds(NSRect)

Modifies the bounding rectangle for the cancel button cell.

Original signature is '- (NSRect)cancelButtonRectForBounds:(NSRect)rect'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRect CancelButtonRectForBounds(
	NSRect rect
)
Public Overridable Function CancelButtonRectForBounds ( _
	rect As NSRect _
) As NSRect
public:
virtual NSRect CancelButtonRectForBounds(
	NSRect rect
)
Parameters
rect (NSRect)
The current bounding rectangle for the cancel button.
Return Value
The updated bounding rectangle to use for the cancel button. The default value is the value passed into the rect parameter.
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)