dashboard-devexpress-dot-dashboardcommon-dot-xrdashboardgauge.md
Gets a gauge control.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public XRGauge Gauge { get; }
Public ReadOnly Property Gauge As XRGauge
| Type | Description |
|---|---|
| XRGauge |
A Gauge control that is used to display an image in the printed document.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Gauge property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
web-forms-dashboard-gauge-ranges/CS/Default.aspx.cs#L39
gaugeControl.Gauges.ToList().ForEach(gauge => {
var xrGauge = gauge.Gauge;
var internalGauge = xrGauge.Gauge as DevExpress.XtraGauges.Core.Customization.DashboardGauge;
See Also