MonobjcMonobjc Documented Class Library
DrawSegmentInFrameWithView Method (segment, frame, controlView)
NamespacesMonobjc.AppKitNSSegmentedCellDrawSegmentInFrameWithView(NSInteger, NSRect, NSView)

Draws the segment in the specified view.

Original signature is '- (void)drawSegment:(NSInteger)segment inFrame:(NSRect)frame withView:(NSView *)controlView'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DrawSegmentInFrameWithView(
	NSInteger segment,
	NSRect frame,
	NSView controlView
)
Public Overridable Sub DrawSegmentInFrameWithView ( _
	segment As NSInteger, _
	frame As NSRect, _
	controlView As NSView _
)
public:
virtual void DrawSegmentInFrameWithView(
	NSInteger segment, 
	NSRect frame, 
	NSView^ controlView
)
Parameters
segment (NSInteger)
The index of the segment to draw. This method raises an NSRangeException if the index is out of bounds.
frame (NSRect)
The rectangle in which to draw the segment. This rectangle is specified in user space coordinates of the specified view.
controlView (NSView)
The view in which to draw the segment.
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)