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

TdxRangeControlDateTimeScale.GetDateInterval(TDateTime,TDateTime) Method

Returns the specified range of date/time values as a fraction of the range control‘s viewport.

#Declaration

Delphi
function GetDateInterval(const AMin: TDateTime; const AMax: TDateTime): Double; virtual;

#Parameters

Name Type
AMin TDateTime
AMax TDateTime

#Returns

Type
Double

#Remarks

Normally, this function supports the internal infrastructure and is not intended to be used directly from your code. The GetDateInterval function is called internally by the range control to calculate the boundaries of the date/time range selection.

The AMin and AMax parameters are used to specify the lower and upper values defining the date/time range selection.

See Also