drawBackground(in:)
Draws the background of the row in the rectangle.
Declaration
func drawBackground(in dirtyRect: NSRect)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 isTargetForDropOperation is true.