Skip to main content
A newer version of this page is available. .

GaugeControlBase.AddGauge(GaugeType) Method

Adds a new gauge of the specified type to the control.

Namespace: DevExpress.XtraGauges.Win

Assembly: DevExpress.XtraGauges.v19.1.Win.dll

Declaration

public IGauge AddGauge(
    GaugeType type
)

Parameters

Name Type Description
type DevExpress.XtraGauges.Base.GaugeType

The type of gauge to be added.

Returns

Type Description
DevExpress.XtraGauges.Base.IGauge

The newly created gauge.

Remarks

The AddGauge method assigns a unique name to the gauge, and adds it to the GaugeControlBase.Gauges collection.

See Also