Version

DrawWindowsVistaToolbarButtonBorders(Graphics,Rectangle,Rectangle,Corners,Pen,Pen) Method

Draws a border in the style of a Windows Vista Toolbar Button Button.
Syntax
'Declaration
 
Public Overloads Shared Sub DrawWindowsVistaToolbarButtonBorders( _
   ByVal g As Graphics, _
   ByVal rect As Rectangle, _
   ByVal invalidRect As Rectangle, _
   ByVal corners As Corners, _
   ByVal outerPen As Pen, _
   ByVal innerPen As Pen _
) 
public static void DrawWindowsVistaToolbarButtonBorders( 
   Graphics g,
   Rectangle rect,
   Rectangle invalidRect,
   Corners corners,
   Pen outerPen,
   Pen innerPen
)

Parameters

g
rect
invalidRect
corners
outerPen
innerPen
Remarks

Windows Vista Toolbar button borders are characterized by an outer border and an inner border which are partially transparent and modify the color of the Background.

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