Description
Sets or returns the background color for cells.C#
public Color BackgroundColor{ get ; set ; } |
vb.net
Public Property BackgroundColor() As Color |
Examples
C#
//--- Get BackgroungColor Color bgColor = styl.BackgroundColor; //--- Set BackgroundColor styl.BackgroundColor = wb.Palette.GetClosestColor(162, 221, 139); |
vb.net
'--- Get BackgroundColor Dim bgColor As Color = styl.BackgroundColor '--- Set BackgroundColor styl.BackgroundColor = wb.Palette.GetClosestColor(162, 221, 139) |