Version

Draw(Graphics,Rectangle,Boolean,AlphaBlendMode) Method

Draws the element.
Syntax
'Declaration
 
Public Overloads Overridable Sub Draw( _
   ByVal graphics As Graphics, _
   ByVal invalidRectangle As Rectangle, _
   ByVal doubleBuffer As Boolean, _
   ByVal alphaBlendMode As AlphaBlendMode _
) 
public virtual void Draw( 
   Graphics graphics,
   Rectangle invalidRectangle,
   bool doubleBuffer,
   AlphaBlendMode alphaBlendMode
)

Parameters

graphics
DC to render into
invalidRectangle
Area to paint
doubleBuffer
True means a memory graphics object will always be created to cache drawing untilthe end.
alphaBlendMode
Determines which alphablend algorithm is used
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