Charting for WinForms Programmer's Guide
GenericGauge(T) Members
Constructors Fields Properties Methods Events
 


Represents the generic base class of linear and oval gauge controls.

The following tables list the members exposed by the GenericGauge(T) type.

 Protected Constructors

  Name Description

GenericGauge

Initializes a new instance of the GenericGauge class.

 Protected Fields

  Name Description

background

A VisualElement containing all background elements. (Inherited from BaseGauge.)

foreground

A VisualElement containing all foreground elements. (Inherited from BaseGauge.)

 Public Properties

  Name Description

CacheVisuals

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

Height

Gets the height of the gauge. (Inherited from BaseGauge.)

Scales

Gets or sets the scales contained in the gauge.

Size

Gets or sets the size of the gauge. (Inherited from BaseGauge.)

Width

Gets the width of the gauge. (Inherited from BaseGauge.)

 Protected Properties

  Name Description

DefaultSize

Control.DefaultSize override. (Inherited from BaseGauge.)

 Public Methods

  Name Description

Draw

Draws the gauge to the specified IGraphics object. (Inherited from BaseGauge.)

GetElementByName

Returns the scale element with the specified name. (Inherited from BaseGauge.)

HitTestObj

Checks whether the specified point lies within the visual structure of a scale element. (Inherited from BaseGauge.)

ProcessMouseDown

Invoked to handle a MouseDown event. (Inherited from BaseGauge.)

ProcessMouseMove

Invoked to handle a MouseMove event. (Inherited from BaseGauge.)

ProcessMouseUp

Invoked to handle a MouseUp event. (Inherited from BaseGauge.)

 Protected Methods

  Name Description

OnInvalidated

Raises the Invalidated event. (Inherited from BaseGauge.)

OnMouseDown

Control.OnMouseDown override. (Inherited from BaseGauge.)

OnMouseMove

Control.OnMouseMove override. (Inherited from BaseGauge.)

OnMouseUp

Control.OnMouseUp override. (Inherited from BaseGauge.)

OnPaint

Control.OnPaint override. (Inherited from BaseGauge.)

OnPaintBackground

Raises the PaintBackground event. (Inherited from BaseGauge.)

OnPaintForeground

Raises the PaintForeground event. (Inherited from BaseGauge.)

OnPaintPointer

Raises the PaintPointer event. (Inherited from BaseGauge.)

OnPaintScale

Raises the PaintScale event. (Inherited from BaseGauge.)

OnPaintTick

Raises the PaintTick event. (Inherited from BaseGauge.)

OnPrepaintBackground

Raises the PrepaintBackground event. (Inherited from BaseGauge.)

OnPrepaintForeground

Raises the PrepaintForeground event. (Inherited from BaseGauge.)

OnPrepaintPointer

Raises the PrepaintPointer event. (Inherited from BaseGauge.)

OnPrepaintScale

Raises the PrepaintScale event. (Inherited from BaseGauge.)

OnPrepaintTick

Raises the PrepaintTick event. (Inherited from BaseGauge.)

OnSizeChanged

Control.OnSizeChanged override. (Inherited from BaseGauge.)

 Public Events

  Name Description

Invalidated

Raised when the gauge has visually changed to allow containers to repaint. (Inherited from BaseGauge.)

PaintBackground

Raised when the gauge background is being painted. (Inherited from BaseGauge.)

PaintForeground

Raised when the gauge foreground is being painted. (Inherited from BaseGauge.)

PaintPointer

Raised when a pointer in the gauge is being painted. (Inherited from BaseGauge.)

PaintScale

Raised when a tick in the gauge is being painted. (Inherited from BaseGauge.)

PaintTick

Raised when a tick in the gauge is being painted. (Inherited from BaseGauge.)

PrepaintBackground

Raised when the gauge background is being painted. (Inherited from BaseGauge.)

PrepaintForeground

Raised when the gauge foreground is being painted. (Inherited from BaseGauge.)

PrepaintPointer

Raised when a pointer in the gauge is being painted. (Inherited from BaseGauge.)

PrepaintScale

Raised when a tick in the gauge is being painted. (Inherited from BaseGauge.)

PrepaintTick

Raised when a tick in the gauge is being painted. (Inherited from BaseGauge.)

 See Also

GenericGauge(T) Class
MindFusion.Gauges Namespace