Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / Style Class / Style Constructor / Style Constructor(Color,Color)
The System.Drawing.Color of the background.
The System.Drawing.Color of the foreground.


In This Topic
    Style Constructor(Color,Color)
    In This Topic
    Initializes a new instance of the Style class with the specified initialization properties.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal backColor As Color, _
       ByVal foreColor As Color _
    )
    'Usage
     
    
    Dim backColor As Color
    Dim foreColor As Color
     
    Dim instance As New Style(backColor, foreColor)
    public Style( 
       Color backColor,
       Color foreColor
    )

    Parameters

    backColor
    The System.Drawing.Color of the background.
    foreColor
    The System.Drawing.Color of the foreground.
    See Also