Version

Draw(Graphics,Rectangle,Boolean,AlphaBlendMode) Method

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

Parameters

graphics
System.Drawing.Graphics object to render into.
invalidRectangle
Invalid System.Drawing.Rectangle that will be drawn.
doubleBuffer
True creates an offscreen buffer System.Drawing.Graphics object. All rendering is done to that and the result is copied to the screen. False all drawing is done directly to the screen.
alphaBlendMode
Enumeration indicating the mode of alphablending to use when rendering the control
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