[]
Creates a new border with default values.
public Border()
Public Sub New()
Creates a new one-pixel, solid border with the specified color.
public Border(Color color)
Public Sub New(color As Color)
| Type | Name | Description |
|---|---|---|
| Color | color | Color of the border |
Creates a new one-pixel border with the specified style and color.
public Border(BorderStyle style, Color color)
Public Sub New(style As BorderStyle, color As Color)
| Type | Name | Description |
|---|---|---|
| BorderStyle | style | Style of the border |
| Color | color | Color of the border |
Creates a new border with the specified style, color, and width.
public Border(BorderStyle style, Color color, short size)
Public Sub New(style As BorderStyle, color As Color, size As Short)
| Type | Name | Description |
|---|---|---|
| BorderStyle | style | Style of the border |
| Color | color | Color of the border |
| short | size | Width of the border |
Creates a new border from serialization.
protected Border(SerializationInfo info, StreamingContext c)
Protected Sub New(info As SerializationInfo, c As StreamingContext)
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | SerializationInfo |
| StreamingContext | c | StreamingContext |