Version

DrawWindowsVistaToolbarButtonBorders(Graphics,Rectangle,Rectangle,Corners,Color,Color) 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 borderColorOuter As Color, _
   ByVal borderColorInner As Color _
) 
public static void DrawWindowsVistaToolbarButtonBorders( 
   Graphics g,
   Rectangle rect,
   Rectangle invalidRect,
   Corners corners,
   Color borderColorOuter,
   Color borderColorInner
)

Parameters

g
rect
invalidRect
corners
borderColorOuter
borderColorInner
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