Method OnCustomDraw
- Namespace
- Alternet.Editor.CodeCompletion
- Assembly
- Alternet.Editor.v10.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
rectRectangleRectangular area of
CodeCompletionHintto draw.stageDrawStageSpecifies whether this method called before or after painting.
stateDrawStateSpecifies part of control to draw.
infoIDrawInfoFull information about drawing text fragment.
Returns
- bool
True if user handles this event; otherwise false.