[]
Creates a new grid line.
public GridLine()
Public Sub New()
Creates a new grid line of the specified line type.
public GridLine(GridLineType type)
Public Sub New(type As GridLineType)
Type | Name | Description |
---|---|---|
GridLineType | type | Type of grid line |
Creates a new grid line of the specified line type and color.
public GridLine(GridLineType type, Color color)
Public Sub New(type As GridLineType, color As Color)
Type | Name | Description |
---|---|---|
GridLineType | type | Type of grid line |
Color | color | Color of grid line |
Creates a new grid line of the specified line type and colors.
public GridLine(GridLineType type, Color color, Color highlightColor, Color shadowColor)
Public Sub New(type As GridLineType, color As Color, highlightColor As Color, shadowColor As Color)
Type | Name | Description |
---|---|---|
GridLineType | type | Type of grid line |
Color | color | Color of grid line |
Color | highlightColor | Highlight color for the grid line |
Color | shadowColor | Shadow color for the grid line |
Creates a new grid line of the specified line type, colors, and width.
public GridLine(GridLineType type, Color color, Color highlightColor, Color shadowColor, int width)
Public Sub New(type As GridLineType, color As Color, highlightColor As Color, shadowColor As Color, width As Integer)
Type | Name | Description |
---|---|---|
GridLineType | type | Type of grid line |
Color | color | Color of grid line |
Color | highlightColor | Highlight color for the grid line |
Color | shadowColor | Shadow color for the grid line |
int | width | Width of grid line |
Type | Condition |
---|---|
InvalidEnumArgumentException | The type is not one of the BorderStyle values. |
ArgumentOutOfRangeException | The width is less that -1. |
Represents the grid lines.
public GridLine(SerializationInfo info, StreamingContext context)
Public Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | SerializationInfo object that holds the serialized object data |
StreamingContext | context | StreamingContext object with contexual information about the source or destination of the serialization |