Guage Custom Control in VB.NET

The control is a round meter with the following parameters:

  • Range: The range represented (default: 100).
  • Red Zone: The area of the meter where the tick marks are drawn in the
  • Red Zone Color (default: 60).
  • Red Zone Color: color of the red zone (default: Red).
  • Text Color: Color for the rest of the tick marks and text (default: Lime).
  • Needle Color: color of the needle (default: orange).
  • Deflection: Deflection of the needle from zero (default: 0).

The one custom event the meter raises is called DeflectionChanged for obvious reasons.

The only shape available is round, and the size is determined by client rectangle height, or width (whichever is shorter).

The one custom event the meter raises is called DeflectionChanged for obvious reasons.

The only shape available is round, and the size is determined by client rectangle height, or width (whichever is shorter).

Screenshots

single-in-vb.net.gif


nested-in-vb.net.gif

Up Next
    Ebook Download
    View all
    Learn
    View all