Instance Method

drawBackgroundInRect:

Draws the background of the row in the rectangle.

Declaration

- (void)drawBackgroundInRect:(NSRect)dirtyRect;

Parameters

dirtyRect

The rectangle that requires drawing.

Discussion

Overriding this method allows an application to draw a custom background for a table row view.

By default, this method draws the background color or group row style as appropriate for the row. This method also draws the “below look” for a drop target if targetForDropOperation is YES.

See Also

Overriding Row View Display Characteristics

backgroundColor

The background color of the row.

- drawDraggingDestinationFeedbackInRect:

Draws the row’s dragging destination feedback when the entire row is a drop target.

- drawSelectionInRect:

Draws the selected row.

- drawSeparatorInRect:

Draws the horizontal separator between table rows.