Description |
---|
Excerpt |
---|
Applies a style to the column. When a style is applied - rather than set (see ColumnProperties.Style ) - only the differences between the new style and style properties previously assigned to the column (through the ExcelWriter API or in Microsoft Excel) will take effect. For example, if a cell in the column has a background color and the new style applied does not contain a background color, the cell's color will not be affected. |
Signature | C# | C# |
---|---|---|
Wiki Markup | ||
{description}
{excerpt}Applies a style to the column. When a style is applied \- rather than set \(see [ColumnProperties.Style|ColumnProperties.Style] \) \- only the differences between the new style and style properties previously assigned to the column \(through the ExcelWriter API or in Microsoft Excel\) will take effect. For example, if a cell in the column has a background color and the new style applied does not contain a background color, the cell's color will not be affected.{excerpt}
{signature:C#}
public void ApplyStyle(Style style)
| ||
Signature | ||
{signature}{signature:vb.net | vb.net | }
Public Sub ApplyStyle(ByVal style As Style)
|
Parameters |
---|
Param | style | style | |
---|---|---|---|
The Style object to apply to the row. | |||
Example | |||
Code Block | | csharp | csharp |
title | C# | ||
Code Block | vb.net | title |