Skip to main content

GaugeContext.GetDashboardItemGauge(GaugeDashboardItem, IGauge) Method

Returns the Gauge object that corresponds to the specified control’s gauge element.

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v24.2.Win.dll

Declaration

public Gauge GetDashboardItemGauge(
    GaugeDashboardItem dashboardItem,
    IGauge gauge
)

Parameters

Name Type Description
dashboardItem GaugeDashboardItem

A Gauge dashboard item for which you get the gauge context.

gauge DevExpress.XtraGauges.Base.IGauge

A CircularGauge or LinearGauge object that is a visible gauge element.

Returns

Type Description
Gauge

A Gauge object that correspond to the specified parameters.

See Also