Cell.SetStyle

SetStyle(Style)

Sets the cell style.

public void SetStyle(Style style)
ParameterTypeDescription
styleStyleThe cell style.

Remarks

If the border settings are changed, the border of adjust cells will be updated too.

See Also


SetStyle(Style, bool)

Apply the changed property of style to the cell.

public void SetStyle(Style style, bool explicitFlag)
ParameterTypeDescription
styleStyleThe cell style.
explicitFlagBooleanTrue, only overwriting formatting which is explicitly set.

See Also


SetStyle(Style, StyleFlag)

Apply the cell style based on flags.

public void SetStyle(Style style, StyleFlag flag)
ParameterTypeDescription
styleStyleThe cell style.
flagStyleFlagThe style flag.

See Also