[]
Creates a new painter of the column header cells with the specified values.
public EnhancedColumnHeaderRenderer(Color activeBackgroundColor, Color normalBackgroundColor, Color normalGridLineColor, Color selectedActiveBackgroundColor, Color selectedBackgroundColor, Color selectedGridLineColor, bool allowGradient)
Public Sub New(activeBackgroundColor As Color, normalBackgroundColor As Color, normalGridLineColor As Color, selectedActiveBackgroundColor As Color, selectedBackgroundColor As Color, selectedGridLineColor As Color, allowGradient As Boolean)
Type | Name | Description |
---|---|---|
Color | activeBackgroundColor | Color of the background when in focus |
Color | normalBackgroundColor | Color of the background when not in focus |
Color | normalGridLineColor | Color of the grid line when not in focus |
Color | selectedActiveBackgroundColor | Color of the background when selected and in focus |
Color | selectedBackgroundColor | Color of the background when selected but not in focus |
Color | selectedGridLineColor | Color of the grid line when selected |
bool | allowGradient | Allow background color paint gradient |
Creates a new painter of the column header cells with the specified values.
public EnhancedColumnHeaderRenderer(Color activeBackgroundColor, Color normalBackgroundColor, Color normalGridLineColor, Color selectedActiveBackgroundColor, Color selectedBackgroundColor, Color selectedGridLineColor)
Public Sub New(activeBackgroundColor As Color, normalBackgroundColor As Color, normalGridLineColor As Color, selectedActiveBackgroundColor As Color, selectedBackgroundColor As Color, selectedGridLineColor As Color)
Type | Name | Description |
---|---|---|
Color | activeBackgroundColor | Color of the background when in focus |
Color | normalBackgroundColor | Color of the background when not in focus |
Color | normalGridLineColor | Color of the grid line when not in focus |
Color | selectedActiveBackgroundColor | Color of the background when selected and in focus |
Color | selectedBackgroundColor | Color of the background when selected but not in focus |
Color | selectedGridLineColor | Color of the grid line when selected |
Creates a new painter of the column header cells from default values.
public EnhancedColumnHeaderRenderer()
Public Sub New()
Creates a new painter of the column header cells from serialization.
protected EnhancedColumnHeaderRenderer(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | Serialization information |
StreamingContext | context | Streaming context |