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
RectangleRectangular area of
CodeCompletionHint
to draw.stage
DrawStageSpecifies whether this method called before or after painting.
state
DrawStateSpecifies part of control to draw.
info
IDrawInfoFull information about drawing text fragment.
Returns
- bool
True if user handles this event; otherwise false.