...
Description |
---|
Excerpt |
---|
Applies a style to the row. |
Signature | ||||
---|---|---|---|---|
| ||||
public void ApplyStyle(Style style)
{signature}{signature: |
Signature | ||||||
---|---|---|---|---|---|---|
| }
| |||||
Public Sub ApplyStyle(ByVal style As Style)
{signature}
{parameters}
{param:style}The [Style|Style] object to apply to the row.{param}
{remarks}
When a style is applied \- rather than set \(see [RowProperties.Style|RowProperties.Style] \) \- only the differences between the new style and style properties previously assigned to the row \(through the ExcelWriter API or in Microsoft Excel\) will take effect. For example, if a cell in the row has a background color and the new style applied does not contain a background color, the cell's color will not be affected. However, if the new style includes a background color, it will replace the existing background color of the cell.
{remarks}
|
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
The Style object to apply to the row. |
Remarks |
---|
When a style is applied - rather than set (see RowProperties.Style ) - only the differences between the new style and style properties previously assigned to the row (through the ExcelWriter API or in Microsoft Excel) will take effect. For example, if a cell in the row has a background color and the new style applied does not contain a background color, the cell's color will not be affected. However, if the new style includes a background color, it will replace the existing background color of the cell. |