GaugeControlBase.AddGauge(GaugeType) Method

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

Namespace: DevExpress.XtraGauges.Win

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

Declaration

public IGauge AddGauge(
    GaugeType type
)
Public Function AddGauge(
    type As GaugeType
) As IGauge

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.

Implements

DevExpress.XtraGauges.Base.IGaugeContainer.AddGauge(DevExpress.XtraGauges.Base.GaugeType)
See Also