[]
        
(Showing Draft Content)

FarPoint.Win.BevelBorder.-ctor

BevelBorder Constructor

BevelBorder(BevelBorderType)

Creates a beveled border of the specified type.

Declaration
public BevelBorder(BevelBorderType type)
Public Sub New(type As BevelBorderType)
Parameters
Type Name Description
BevelBorderType type

Type of beveled border

BevelBorder(BevelBorderType, Color, Color)

Creates a beveled border with the specified type, highlight color, and shadow color.

Declaration
public BevelBorder(BevelBorderType type, Color highlight, Color shadow)
Public Sub New(type As BevelBorderType, highlight As Color, shadow As Color)
Parameters
Type Name Description
BevelBorderType type

Type of beveled border

Color highlight

Color of highlight for beveled border

Color shadow

Color of shadow for beveled border

BevelBorder(BevelBorderType, Color, Color, int)

Creates a beveled border with the specified type, highlight color, shadow color, and thickness.

Declaration
public BevelBorder(BevelBorderType type, Color highlight, Color shadow, int thickness)
Public Sub New(type As BevelBorderType, highlight As Color, shadow As Color, thickness As Integer)
Parameters
Type Name Description
BevelBorderType type

Type of beveled border

Color highlight

Color of highlight for beveled border

Color shadow

Color of shadow for beveled border

int thickness

Thickness of beveled border in pixels

BevelBorder(BevelBorderType, Color, Color, int, bool, bool, bool, bool)

Creates a beveled border with the specified type, highlight color, shadow color, thickness, and sides on which the border is drawn.

Declaration
public BevelBorder(BevelBorderType type, Color highlight, Color shadow, int thickness, bool left, bool top, bool right, bool bottom)
Public Sub New(type As BevelBorderType, highlight As Color, shadow As Color, thickness As Integer, left As Boolean, top As Boolean, right As Boolean, bottom As Boolean)
Parameters
Type Name Description
BevelBorderType type

Type of beveled border

Color highlight

Color of highlight for beveled border

Color shadow

Color of shadow for beveled border

int thickness

Thickness of beveled border in pixels

bool left

Whether to draw the left side

bool top

Whether to draw the top

bool right

Whether to draw the right side

bool bottom

Whether to draw the bottom