Version

DrawWindowsVistaToolbarButtonBorders(UIElementDrawParams) Method

Draws a border in the style of a Windows Vista Toolbar Button Button.
Syntax
'Declaration
 
Public Overloads Shared Sub DrawWindowsVistaToolbarButtonBorders( _
   ByRef drawParams As UIElementDrawParams _
) 
public static void DrawWindowsVistaToolbarButtonBorders( 
   ref UIElementDrawParams drawParams
)

Parameters

drawParams
The UIElementDrawParams used to provide rendering information.
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. The border colors are taken from the drawParams. The outer color is determined by the BorderColor and the inner color is determined by BorderColor2.

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