Back to Devexpress

XRDashboardGauge.Gauge Property

dashboard-devexpress-dot-dashboardcommon-dot-xrdashboardgauge.md

latest1.9 KB
Original Source

XRDashboardGauge.Gauge Property

Gets a gauge control.

Namespace : DevExpress.DashboardCommon

Assembly : DevExpress.Dashboard.v25.2.Core.dll

NuGet Package : DevExpress.Dashboard.Core

Declaration

csharp
public XRGauge Gauge { get; }
vb
Public ReadOnly Property Gauge As XRGauge

Property Value

TypeDescription
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

csharp
gaugeControl.Gauges.ToList().ForEach(gauge => {
    var xrGauge = gauge.Gauge;
    var internalGauge = xrGauge.Gauge as DevExpress.XtraGauges.Core.Customization.DashboardGauge;

See Also

XRDashboardGauge Class

XRDashboardGauge Members

DevExpress.DashboardCommon Namespace