MonobjcMonobjc Documented Class Library
KeyEquivalentRectForBounds Method (cellFrame)
NamespacesMonobjc.AppKitNSMenuItemCellKeyEquivalentRectForBounds(NSRect)

Returns the rectangle into which the menu item’s key equivalent should be drawn.

Original signature is '- (NSRect)keyEquivalentRectForBounds:(NSRect)cellFrame'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRect KeyEquivalentRectForBounds(
	NSRect cellFrame
)
Public Overridable Function KeyEquivalentRectForBounds ( _
	cellFrame As NSRect _
) As NSRect
public:
virtual NSRect KeyEquivalentRectForBounds(
	NSRect cellFrame
)
Parameters
cellFrame (NSRect)
A rectangle that defines the bounds of the receiver.
Return Value
The returned rectangle is based on cellFrame but encompasses only the area to be occupied by the key equivalent.
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)