Version

DrawBorders(UIElementBorderStyle,Border3DSide,Rectangle) Method

Draws borders around the element
Syntax
'Declaration
 
Public Overloads Sub DrawBorders( _
   ByVal style As UIElementBorderStyle, _
   ByVal sides As Border3DSide, _
   ByVal rect As Rectangle _
) 
public void DrawBorders( 
   UIElementBorderStyle style,
   Border3DSide sides,
   Rectangle rect
)

Parameters

style
The style of the borders
sides
Bit flags indiating which sides to draw
rect
The borders are drawn inside this rectangle
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