Table of Contents

Method OnDraw

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

OnDraw(AbstractControl, Graphics)

Performs custom drawing operations for the specified control.

protected override void OnDraw(AbstractControl control, Graphics dc)

Parameters

control AbstractControl

The control to be drawn. This parameter cannot be null.

dc Graphics

The graphics context used for rendering. This parameter cannot be null.

Remarks

This method is intended to be overridden in a derived class to provide custom drawing logic. The base implementation does not perform any drawing operations.