Method OnDraw
OnDraw(AbstractControl, Graphics)
Performs custom drawing operations for the specified control.
protected override void OnDraw(AbstractControl control, Graphics dc)
Parameters
controlAbstractControlThe control to be drawn. This parameter cannot be null.
dcGraphicsThe 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.