Skybound VisualTips

VisualTipRenderer.OnDrawElement Method 

When overridden, draws a single element of the specified tip.

[Visual Basic]
Overridable Protected Sub OnDrawElement( _
   ByVal e As PaintEventArgs, _
   ByVal tip As VisualTip, _
   ByVal layout As VisualTipLayout, _
   ByVal element As VisualTipRenderElement _
)
[C#]
protected virtual void OnDrawElement(
   PaintEventArgs e,
   VisualTip tip,
   VisualTipLayout layout,
   VisualTipRenderElement element
);

Parameters

e
A PaintEventArgs which determines the Graphics surface on which the tip is painted.
tip
The VisualTip to render.
layout
A VisualTipLayout which defines the location of various elements on the tip.
element
The VisualTipRenderElement to draw.

See Also

VisualTipRenderer Class | Skybound.VisualTips.Rendering Namespace | Draw