Skip to main content

Custom Draw

This topic explains how to use a Gauge control’s custom draw feature to change the appearance of gauge elements (background and effect layers, needle, and so forth) at runtime.

Handle the BaseGauge.CustomDrawElement event for the elements whose default appearance you wish to change.

The following animated image demonstrates the custom draw feature in action:

Gauge- Custom Draw

See the following example to learn how to use the CustomDrawElement event: How to: Use Custom Draw Events.