Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LinearGaugeHitInfo Class

Contains information about a specific point within a linear gauge.

Namespace: DevExpress.Xpf.Gauges

Assembly: DevExpress.Xpf.Gauges.v24.2.dll

NuGet Package: DevExpress.Wpf.Gauges

#Declaration

public class LinearGaugeHitInfo :
    GaugeHitInfoBase

The following members return LinearGaugeHitInfo objects:

#Remarks

The LinearGaugeHitInfo object can be created by calling the linear gauge’s LinearGaugeControl.CalcHitInfo method. This method requires the test point or its coordinates as a parameter.

The LinearGaugeHitInfo class properties can be grouped into two categories:

  • The properties that indicate whether the test point resides over a particular view element. For instance, the LinearGaugeHitInfo.InScale property indicates whether the test point is over the scale;
  • The properties identifying the topmost visual element containing the test point (e.g. LinearGaugeHitInfo.Scale).

#Inheritance

Object
GaugeHitInfoBase
LinearGaugeHitInfo
See Also