LinearGaugeControl.CalcHitInfo(Point) Method
Returns information on the gauge elements located at the specified point.
Namespace: DevExpress.Xpf.Gauges
Assembly: DevExpress.Xpf.Gauges.v23.2.dll
NuGet Package: DevExpress.Wpf.Gauges
Declaration
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 |
---|---|
LinearGaugeHitInfo | A LinearGaugeHitInfo object, which contains information about the gauge elements located at the test point. |
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