Version

DrawWindowsVistaButtonOverlay Method

Draws an alphablended layer over the button to simulate the Windows Vista Aero theme for buttons.
Syntax
'Declaration
 
Public Shared Sub DrawWindowsVistaButtonOverlay( _
   ByRef drawParams As UIElementDrawParams, _
   ByVal enabled As Boolean, _
   ByVal isMouseDown As Boolean, _
   ByVal isStateButton As Boolean, _
   ByVal isStateButtonDown As Boolean, _
   ByVal isMouseOver As Boolean _
) 
public static void DrawWindowsVistaButtonOverlay( 
   ref UIElementDrawParams drawParams,
   bool enabled,
   bool isMouseDown,
   bool isStateButton,
   bool isStateButtonDown,
   bool isMouseOver
)

Parameters

drawParams
The UIElementDrawParams used to provide rendering information.
enabled
isMouseDown
isStateButton
isStateButtonDown
isMouseOver
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