Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Cell Class / Background Property


In This Topic
    Background Property (Cell)
    In This Topic
    Gets or sets the background for a cell.
    Syntax
    'Declaration
     
    <DefaultValueAttribute("")>
    Public Property Background As Brush
    'Usage
     
    Dim instance As Cell
    Dim value As Brush
     
    instance.Background = value
     
    value = instance.Background
    [DefaultValue("")]
    public Brush Background {get; set;}

    Property Value

    A System.Windows.Media.Brush object that specifies the background for the cell. The default value is null which means the cell inherits the background color of the worksheet, column, or row.
    See Also