Back to Devexpress

ASPxGaugeControl.AddGauge(GaugeType) Method

aspnet-devexpress-dot-web-dot-aspxgauges-dot-aspxgaugecontrol-dot-addgauge-x28-devexpress-dot-xtragauges-dot-base-dot-gaugetype-x29.md

latest2.1 KB
Original Source

ASPxGaugeControl.AddGauge(GaugeType) Method

Adds an empty gauge to the ASPxGaugeControl.

Namespace : DevExpress.Web.ASPxGauges

Assembly : DevExpress.Web.ASPxGauges.v25.2.dll

NuGet Package : DevExpress.Web.Visualization

Declaration

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

Parameters

NameTypeDescription
typeDevExpress.XtraGauges.Base.GaugeType

A DevExpress.XtraGauges.Base.GaugeType enumeration value that specifies the new gauge’s type.

|

Returns

TypeDescription
DevExpress.XtraGauges.Base.IGauge

An object that implements the DevExpress.XtraGauges.Base.IGauge interface.

|

Remarks

The ASPxGaugeControl supports four gauge types: circular, linear, digital gauges and state indicators. Gauges are stored within the ASPxGaugeControl.Gauges collection, and can be accessed using indexed notation.

Implements

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

See Also

Gauges

ASPxGaugeControl Class

ASPxGaugeControl Members

DevExpress.Web.ASPxGauges Namespace