Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void SetRowBackground(int, ConsoleColor?)

Declaration

public void SetRowBackground(
    int row,
    ConsoleColor? backgroundColor
)

Summary

Sets a background color for an entire row within the table, including the vertical rules if TextTable.VerticalRules is true. Background colors for individual cells take precedence within the bounds of that cell. Background colors in the input string take precendence for those characters.

Parameters

introw The index of the row. If during rendering the table turns out to have fewer rows, the background color is ignored.
ConsoleColor?backgroundColor The background color to set the row to, or null to reset the color.