Skip to main content

IRangeControlClient.HitTest(Point) Method

Returns information on the range control client regions located at the specified point.

Namespace: DevExpress.Xpf.Editors.RangeControl

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

RangeControlClientHitTestResult HitTest(
    Point point
)

Parameters

Name Type Description
point Point

A Point structure specifying the test point coordinates relative to the top-left corner of the range control client.

Returns

Type Description
DevExpress.Xpf.Editors.RangeControl.RangeControlClientHitTestResult

A RangeControlClientHitTestResult object containing information about the range control client regions located at the test point.

Remarks

Use the HitTest method to determine which region of the range control client is located at the specified point. This method returns a RangeControlClientHitTestResult object which exposes the following properties.

Property

Description

RangeControlClientHitTestResult.RegionType

Gets the RangeControlClientRegionType enumeration value indicating the region type.

The RangeControlClientRegionType enumeration provides the following values.

  • GroupInterval
  • ItemInterval
  • Nothing

RangeControlClientHitTestResult.RegionStart

Gets the start value of the region

RangeControlClientHitTestResult.RegionEnd

Gets the end value of the region

See Also