Skip to main content

GaugeControlBase.AddGauge(GaugeType) Method

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

Namespace: DevExpress.XtraGauges.Win

Assembly: DevExpress.XtraGauges.v24.2.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