Share via


CellStyle.BackgroundColor Property

Gets or sets the background color.

Namespace:  Microsoft.SharePoint.JSGrid
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property BackgroundColor As String
    Get
    Set
'Usage
Dim instance As CellStyle
Dim value As String

value = instance.BackgroundColor

instance.BackgroundColor = value
public string BackgroundColor { get; set; }

Property Value

Type: System.String
A String indicating the background color.

Remarks

If non-null, must be of the form "#FF0000".

See Also

Reference

CellStyle Class

CellStyle Members

Microsoft.SharePoint.JSGrid Namespace