Table of Contents

Method OnCustomDraw

Namespace
Alternet.Editor.CodeCompletion
Assembly
Alternet.Editor.v9.dll

OnCustomDraw(Rectangle, DrawStage, DrawState, IDrawInfo)

Calls Hint.SyntaxPaint.OnCustomDraw method that raises CustomDraw event.

public virtual bool OnCustomDraw(Rectangle rect, DrawStage stage, DrawState state, IDrawInfo info)

Parameters

rect Rectangle

Rectangular area of CodeCompletionHint to draw.

stage DrawStage

Specifies whether this method called before or after painting.

state DrawState

Specifies part of control to draw.

info IDrawInfo

Full information about drawing text fragment.

Returns

bool

True if user handles this event; otherwise false.