Version

DrawBorders(Graphics,UIElementBorderStyle,Border3DSide,AppearanceData,AlphaBlendMode,Rectangle,Rectangle,ColorRenderMode) Method

Renders the specified borderstyle into the graphics object.
Syntax
'Declaration
 
Public Shared Sub DrawBorders( _
   ByVal graphics As Graphics, _
   ByVal borderStyle As UIElementBorderStyle, _
   ByVal sides As Border3DSide, _
   ByRef appearanceData As AppearanceData, _
   ByVal alphaMode As AlphaBlendMode, _
   ByVal rect As Rectangle, _
   ByVal invalidRect As Rectangle, _
   ByVal colorRenderMode As ColorRenderMode _
) 

Parameters

graphics
Graphics object into which the borders will be rendered
borderStyle
BorderStyle to render
sides
Indicates which sides should be rendered
appearanceData
Appearance information used to determine the color of the borders
alphaMode
Determines the current alphablend setting
rect
The location where the rectangle should be rendered
invalidRect
The invalid area to render
colorRenderMode
Determines how colors are rendered
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