Represents an ASPxGaugeControl.
public class ASPxGaugeControl : ASPxWebControl, IGaugeContainerEx, IGaugeContainer, ILayoutManagerContainer, INamingContainer, IXtraSerializable, IRequiresLoadPostDataControl, ISharePointEmptyDesignTimeControl
Public Class ASPxGaugeControl Inherits ASPxWebControl Implements IGaugeContainerEx, IGaugeContainer, ILayoutManagerContainer, INamingContainer, IXtraSerializable, IRequiresLoadPostDataControl, ISharePointEmptyDesignTimeControl
The ASPxGaugeControl represents a container of gauges. It can display multiple gauges of different types simultaneously. There are four gauge types: circular, linear, digital gauges and state indicators.
At design time, you can create gauges on the fly from predefined presets, using the Preset Manager. Numerous presets are ready-to-use gauges that you can quickly load, and then customize as required. Any gauge element can also be customized. You can choose among numerous paint styles of needles, background layers and scales, and specify the appearance of labels, the position of scales and needles, etc.
The ASPxGaugeControl stores gauges within the ASPxGaugeControl.Gauges collection. Individual gauges can be accessed using indexed notation. To add empty gauges to this collection in code, use the ASPxGaugeControl.AddGauge method.
Typically, an ASPxGaugeControl contains only one gauge. You can use the ASPxGaugeControl.Value property to assign a value to the gauge. For instance, you can use this property to assign text to be displayed in a DigitalGauge, or assign a scale value to a LinearGauge or CircularGauge.
- The control's client-side equivalent is represented by the ASPxClientGaugeControl object.
- On the client side, the client object can be accessed directly by the name specified via the ASPxGaugeControl.ClientInstanceName property.
- The available client events can be accessed by using the ASPxGaugeControl.ClientSideEvents property.
The control's client-side API is enabled if the ASPxGaugeControl.EnableClientSideAPI property is set to true, or the ASPxGaugeControl.ClientInstanceName property is defined, or any client event is handled.