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.1.Win.dll

NuGet Package: DevExpress.Win.Gauges

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