Version

DrawXPStyleArrowIndicator Method

Draws a Windows XP-style arrow for a scroll button, dropdown button, etc.
Syntax
'Declaration
 
Public Sub DrawXPStyleArrowIndicator( _
   ByVal g As Graphics, _
   ByVal rect As Rectangle, _
   ByVal direction As ScrollButton, _
   ByVal offset As Size, _
   ByVal color As Color _
) 
public void DrawXPStyleArrowIndicator( 
   Graphics g,
   Rectangle rect,
   ScrollButton direction,
   Size offset,
   Color color
)

Parameters

g
Graphics object used to render the arrow.
rect
Rect in which the arrow will be centered.
direction
Direction of the scroll arrow.
offset
The amount by which to offset the placement of the arrow indicator.
color
Color used to draw the arrow.
Remarks

Note: The values Min and Max are not supported for the 'direction' parameter.

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