GradientHeaderRenderer Constructor(Color,Color,Color,Color,LinearGradientMode)
In This Topic
Creates a new renderer for a gradient header with color and mode specified.
Syntax
'Declaration
Public Function New( _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As LinearGradientMode _
)
'Usage
Dim topColor As Color
Dim bottomColor As Color
Dim activeTopColor As Color
Dim activeBottomColor As Color
Dim mode As LinearGradientMode
Dim instance As New GradientHeaderRenderer(topColor, bottomColor, activeTopColor, activeBottomColor, mode)
public GradientHeaderRenderer(
Color ,
Color ,
Color ,
Color ,
LinearGradientMode
)
Parameters
- topColor
- Color at the top of the gradient
- bottomColor
- Color at the bottom of the gradient
- activeTopColor
- Color at the top when the header cell is active
- activeBottomColor
- Color at the bottom when the header cell is active
- mode
- Mode of the linear gradient
See Also