Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal type As BevelBorderType, _ ByVal highlight As Color, _ ByVal shadow As Color, _ ByVal thickness As Integer, _ ByVal left As Boolean, _ ByVal top As Boolean, _ ByVal right As Boolean, _ ByVal bottom As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim type As BevelBorderType Dim highlight As Color Dim shadow As Color Dim thickness As Integer Dim left As Boolean Dim top As Boolean Dim right As Boolean Dim bottom As Boolean Dim instance As New BevelBorder(type, highlight, shadow, thickness, left, top, right, bottom) |
C# | |
---|---|
public BevelBorder( BevelBorderType type, Color highlight, Color shadow, int thickness, bool left, bool top, bool right, bool bottom ) |
Parameters
- type
- BevelBorderType setting containing the type of beveled border
- highlight
- Color of highlight for beveled border
- shadow
- Color of shadow for beveled border
- thickness
- Thickness of beveled border in pixels
- left
- Whether to draw the left side
- top
- Whether to draw the top
- right
- Whether to draw the right side
- bottom
- Whether to draw the bottom
This example creates a bevel border.
C# | Copy Code |
---|---|
FarPoint.Win.BevelBorder bevel = new FarPoint.Win.BevelBorder(BevelBorderType.Lowered, Color.Blue, Color.LightBlue, 1.5, true, false, true, false); |
Visual Basic | Copy Code |
---|---|
Dim bevel as New FarPoint.Win.BevelBorder(BevelBorderType.Lowered, Color.Blue, Color.LightBlue, 1.5, True, False, True, False) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2