Version

DrawBorders(UIElementBorderStyle,Border3DSide,Color,Color,Rectangle,Rectangle) Method

Draws borders around a supplied rect
Syntax
'Declaration
 
Public Overloads Sub DrawBorders( _
   ByVal style As UIElementBorderStyle, _
   ByVal sides As Border3DSide, _
   ByVal borderColor As Color, _
   ByVal borderColor3DBase As Color, _
   ByVal rect As Rectangle, _
   ByVal clipRect As Rectangle _
) 
public void DrawBorders( 
   UIElementBorderStyle style,
   Border3DSide sides,
   Color borderColor,
   Color borderColor3DBase,
   Rectangle rect,
   Rectangle clipRect
)

Parameters

style
The style of the borders
sides
Bit flags indiating which sides to draw
borderColor
The border color
borderColor3DBase
The base color to use when rendering 3D style borders
rect
The borders are drawn inside this rectangle
clipRect
Nothing is drawn outside of this area
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also