[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Border.-ctor

Border Constructor

Border()

Creates a new border with default values.

Declaration
public Border()
Public Sub New()

Border(Color)

Creates a new one-pixel, solid border with the specified color.

Declaration
public Border(Color color)
Public Sub New(color As Color)
Parameters
Type Name Description
Color color

Color of the border

Border(BorderStyle, Color)

Creates a new one-pixel border with the specified style and color.

Declaration
public Border(BorderStyle style, Color color)
Public Sub New(style As BorderStyle, color As Color)
Parameters
Type Name Description
BorderStyle style

Style of the border

Color color

Color of the border

Border(BorderStyle, Color, short)

Creates a new border with the specified style, color, and width.

Declaration
public Border(BorderStyle style, Color color, short size)
Public Sub New(style As BorderStyle, color As Color, size As Short)
Parameters
Type Name Description
BorderStyle style

Style of the border

Color color

Color of the border

short size

Width of the border

Border(SerializationInfo, StreamingContext)

Creates a new border from serialization.

Declaration
protected Border(SerializationInfo info, StreamingContext c)
Protected Sub New(info As SerializationInfo, c As StreamingContext)
Parameters
Type Name Description
SerializationInfo info

SerializationInfo

StreamingContext c

StreamingContext