[]
Creates a new painter of the gradient header from serialization.
protected GradientHeaderRenderer(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | Serialization information |
StreamingContext | context | Streaming context |
Creates a new renderer for a gradient header.
public GradientHeaderRenderer()
Public Sub New()
Creates a new renderer for a gradient header with color and mode specified.
public GradientHeaderRenderer(Color topColor, Color bottomColor, Color activeTopColor, Color activeBottomColor, LinearGradientMode mode, Color selTopColor, Color selBottomColor)
Public Sub New(topColor As Color, bottomColor As Color, activeTopColor As Color, activeBottomColor As Color, mode As LinearGradientMode, selTopColor As Color, selBottomColor As Color)
Type | Name | Description |
---|---|---|
Color | topColor | Color at the top of the gradient |
Color | bottomColor | Color at the bottom of the gradient |
Color | activeTopColor | Color at the top when the header cell is active |
Color | activeBottomColor | Color at the bottom when the header cell is active |
LinearGradientMode | mode | Mode of the linear gradient |
Color | selTopColor | Color at the top of gradient when the column or row of header cell contains a selection |
Color | selBottomColor | Color at the bottom of the gradient when the column or row of header cell contains a selection |
Creates a new renderer for a gradient header with color and mode specified.
public GradientHeaderRenderer(Color topColor, Color bottomColor, Color activeTopColor, Color activeBottomColor, LinearGradientMode mode)
Public Sub New(topColor As Color, bottomColor As Color, activeTopColor As Color, activeBottomColor As Color, mode As LinearGradientMode)
Type | Name | Description |
---|---|---|
Color | topColor | Color at the top of the gradient |
Color | bottomColor | Color at the bottom of the gradient |
Color | activeTopColor | Color at the top when the header cell is active |
Color | activeBottomColor | Color at the bottom when the header cell is active |
LinearGradientMode | mode | Mode of the linear gradient |