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

TdxRangeControlCustomClientProperties.GetInterval(Double,Double) Method

Obtains the actual data range from the two specified range control’s viewport coordinates.

#Declaration

Delphi
function GetInterval(const AMin: Double; const AMax: Double): Variant; virtual;

#Parameters

Name Type
AMin Double
AMax Double

#Returns

Type
Variant

#Remarks

Normally, this function supports the internal infrastructure and is not intended to be used directly from your code. The GetInterval function is called internally by the range control when an end-user selects two points within the currently visible portion of the selectable data range.

The range control’s viewport coordinates are within the range of 0 to 1, inclusive.

The AMin and AMax parameters are used to pass the viewport coordinates of the selected range’s beginning and end specified by an end-user. Since GetInterval implements no actual functionality in the basic data range model class, the function must be overridden in the TdxRangeControlCustomClientProperties class’ descendants.

See Also