CircularGaugeControl.CalcHitInfo(Point) Method
In This Article
Returns information on the gauge elements located at the specified point.
Namespace: DevExpress.Xpf.Gauges
Assembly: DevExpress.Xpf.Gauges.v24.2.dll
NuGet Package: DevExpress.Wpf.Gauges
#Declaration
public CircularGaugeHitInfo CalcHitInfo(
Point point
)
#Parameters
Name | Type | Description |
---|---|---|
point | Point | A Point structure which specifies the test point coordinates relative to the gauge’s top-left corner. |
#Returns
Type | Description |
---|---|
Circular |
A Circular |
#Remarks
Use the CalcHitInfo method to determine which element is located at the specified point. For instance, this can be used when handling the gauge’s MouseDown event to determine which element was clicked. In such cases, pass the current mouse pointer’s coordinates as the method’s parameter.
See Also