Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / Style Class / Style Constructor / Style Constructor(Color,Bevel,Color,BorderStyle,Font,TextEffect,Color,ContentAlignment)
The System.Drawing.Color of the background.
The Bevel value that indicates the bevel effect.
The System.Drawing.Color of the border.
The BorderStyle value that indicates the border style.
The Font value that indicates the font.
The TextEffect value that indicates the text effect.
The System.Drawing.Color value of the foreground.
The ContentAlignment value that indicates the content alignment.


In This Topic
    Style Constructor(Color,Bevel,Color,BorderStyle,Font,TextEffect,Color,ContentAlignment)
    In This Topic
    Initializes a new instance of the Style class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal backColor As Color, _
       ByVal bevel As Bevel, _
       ByVal borderColor As Color, _
       ByVal borderStyle As BorderStyle, _
       ByVal font As Font, _
       ByVal textEffect As TextEffect, _
       ByVal foreColor As Color, _
       ByVal contentAlignment As ContentAlignment _
    )
    'Usage
     
    
    Dim backColor As Color
    Dim bevel As Bevel
    Dim borderColor As Color
    Dim borderStyle As BorderStyle
    Dim font As Font
    Dim textEffect As TextEffect
    Dim foreColor As Color
    Dim contentAlignment As ContentAlignment
     
    Dim instance As New Style(backColor, bevel, borderColor, borderStyle, font, textEffect, foreColor, contentAlignment)

    Parameters

    backColor
    The System.Drawing.Color of the background.
    bevel
    The Bevel value that indicates the bevel effect.
    borderColor
    The System.Drawing.Color of the border.
    borderStyle
    The BorderStyle value that indicates the border style.
    font
    The Font value that indicates the font.
    textEffect
    The TextEffect value that indicates the text effect.
    foreColor
    The System.Drawing.Color value of the foreground.
    contentAlignment
    The ContentAlignment value that indicates the content alignment.
    See Also