Skybound VisualTips

VisualTipRenderer.OnDrawWindow Method 

When overridden, draws the window background for the specified tip. This method is called after OnDrawShadow, and before any elements are drawn.

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

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.

See Also

VisualTipRenderer Class | Skybound.VisualTips.Rendering Namespace | Draw