Version

DrawArrowIndicator Method (DrawCache)

Draws the arrow for a scroll button, dropdown button, etc.
Syntax
'Declaration
 
Public Sub DrawArrowIndicator( _
   ByVal g As Graphics, _
   ByVal rect As Rectangle, _
   ByVal maxArrowSize As Size, _
   ByVal direction As ScrollButton, _
   ByVal offsetSize As Size, _
   ByVal edgeColor As Color, _
   ByVal fillColor As Color, _
   ByVal minMax As Boolean _
) 
public void DrawArrowIndicator( 
   Graphics g,
   Rectangle rect,
   Size maxArrowSize,
   ScrollButton direction,
   Size offsetSize,
   Color edgeColor,
   Color fillColor,
   bool minMax
)

Parameters

g
Graphics object used to render the arrow.
rect
Rect in which the arrow will be centered.
maxArrowSize
Maximum size for the arrow to be rendered.
direction
Direction of the scroll arrow.
offsetSize
Size indicating how much to offset the arrow.
edgeColor
Color used to render the outline for the arrow.
fillColor
Color used to fill the arrow.
minMax
Boolean indicating if a line at the head of the arrow should be rendered (i.e. for indicating first/last or min/max).
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