Version

DrawWindowsVistaToolbarButtonOverlay Method

Draws an alphablended layer of color over the button to highlight it when hot tracked or pressed.
Syntax
'Declaration
 
Public Shared Sub DrawWindowsVistaToolbarButtonOverlay( _
   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 DrawWindowsVistaToolbarButtonOverlay( 
   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