AdvancedLabelOnPaint Method

Implicitly calls the OnPaintState method, which raises both the Paint and PaintState events.

Definition

Namespace: KGySoft.WinForms.Controls
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
protected override void OnPaint(
	PaintEventArgs e
)

Parameters

e  PaintEventArgs
A PaintEventArgs that contains the event data.

Remarks

  Important

It is not recommended to override this method, unless it is really justified. Consider to override OnPaintState instead, where painting the desired state of the control can be applied without interfering with the fading animation.

See Also