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 As Color, _
ByVal As Color _
)
'Usage
Dim backColor As Color
Dim foreColor As Color
Dim instance As New Style(backColor, foreColor)
public Style(
Color ,
Color
)
Parameters
- backColor
- The System.Drawing.Color of the background.
- foreColor
- The System.Drawing.Color of the foreground.
See Also