Spread Windows Forms 13.0 Product Documentation
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.
    Requirements

    Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

    See Also