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


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

    Property Value

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