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

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.2.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