Charting for WinForms Programmer's Guide
BaseGauge Members
Constructors Fields Properties Methods Events
 


Represents the base class of linear and oval gauges.

The following tables list the members exposed by the BaseGauge type.

 Protected Constructors

  Name Description

BaseGauge

Initializes a new instance of the BaseGauge class.

 Protected Fields

  Name Description

background

A VisualElement containing all background elements.

foreground

A VisualElement containing all foreground elements.

 Public Properties

  Name Description

CacheVisuals

Gets or sets a value indicating whether the gauge will cache all background and foreground elements to improve performance.

Height

Gets the height of the gauge.

Size

Gets or sets the size of the gauge.

Width

Gets the width of the gauge.

 Protected Properties

  Name Description

DefaultSize

Control.DefaultSize override.

 Public Methods

  Name Description

Draw

Draws the gauge to the specified IGraphics object.

GetElementByName

Returns the scale element with the specified name.

HitTestObj

Checks whether the specified point lies within the visual structure of a scale element.

ProcessMouseDown

Invoked to handle a MouseDown event.

ProcessMouseMove

Invoked to handle a MouseMove event.

ProcessMouseUp

Invoked to handle a MouseUp event.

 Protected Methods

  Name Description

OnInvalidated

Raises the Invalidated event.

OnMouseDown

Control.OnMouseDown override.

OnMouseMove

Control.OnMouseMove override.

OnMouseUp

Control.OnMouseUp override.

OnPaint

Control.OnPaint override.

OnPaintBackground

Raises the PaintBackground event.

OnPaintForeground

Raises the PaintForeground event.

OnPaintPointer

Raises the PaintPointer event.

OnPaintScale

Raises the PaintScale event.

OnPaintTick

Raises the PaintTick event.

OnPrepaintBackground

Raises the PrepaintBackground event.

OnPrepaintForeground

Raises the PrepaintForeground event.

OnPrepaintPointer

Raises the PrepaintPointer event.

OnPrepaintScale

Raises the PrepaintScale event.

OnPrepaintTick

Raises the PrepaintTick event.

OnSizeChanged

Control.OnSizeChanged override.

 Public Events

  Name Description

Invalidated

Raised when the gauge has visually changed to allow containers to repaint.

PaintBackground

Raised when the gauge background is being painted.

PaintForeground

Raised when the gauge foreground is being painted.

PaintPointer

Raised when a pointer in the gauge is being painted.

PaintScale

Raised when a tick in the gauge is being painted.

PaintTick

Raised when a tick in the gauge is being painted.

PrepaintBackground

Raised when the gauge background is being painted.

PrepaintForeground

Raised when the gauge foreground is being painted.

PrepaintPointer

Raised when a pointer in the gauge is being painted.

PrepaintScale

Raised when a tick in the gauge is being painted.

PrepaintTick

Raised when a tick in the gauge is being painted.

 See Also

BaseGauge Class
MindFusion.Gauges Namespace