[]
Initializes a new instance of the Style class.
public Style()
Public Sub New()
Initializes a new instance of the Style class with the specified initialization properties.
public Style(Color backColor, Color foreColor)
Public Sub New(backColor As Color, foreColor As Color)
Type | Name | Description |
---|---|---|
Color | backColor | The Color of the background. |
Color | foreColor | The Color of the foreground. |
Initializes a new instance of the Style class.
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)
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. |