[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.Style.-ctor

Style Constructor

Style()

Initializes a new instance of the Style class.

Declaration
public Style()
Public Sub New()

Style(Color, Color)

Initializes a new instance of the Style class with the specified initialization properties.

Declaration
public Style(Color backColor, Color foreColor)
Public Sub New(backColor As Color, foreColor As Color)
Parameters
Type Name Description
Color backColor

The Color of the background.

Color foreColor

The Color of the foreground.

Style(Color, Bevel, Color, BorderStyle, Font, TextEffect, Color, ContentAlignment)

Initializes a new instance of the Style class.

Declaration
public Style(Color backColor, Bevel bevel, Color borderColor, BorderStyle borderStyle, Font font, TextEffect textEffect, Color foreColor, ContentAlignment contentAlignment)
Public Sub New(backColor As Color, bevel As Bevel, borderColor As Color, borderStyle As BorderStyle, font As Font, textEffect As TextEffect, foreColor As Color, contentAlignment As ContentAlignment)
Parameters
Type Name Description
Color backColor

The Color of the background.

Bevel bevel

The Bevel value that indicates the bevel effect.

Color borderColor

The Color of the border.

BorderStyle borderStyle

The BorderStyle value that indicates the border style.

Font font

The Font value that indicates the font.

TextEffect textEffect

The TextEffect value that indicates the text effect.

Color foreColor

The Color value of the foreground.

ContentAlignment contentAlignment

The ContentAlignment value that indicates the content alignment.