IRangeControlClient.ValidateRange(NormalizedRangeInfo) Method
In This Article
Validates a range when it is changed.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
info | DevExpress. |
A Normalized |
#Remarks
The ValidateRange method is called when range bounds are about to be changed. You need to check these bounds and correct them if necessary. The new bounds must be assigned back to the info.Range.Minimum and info.Range.Maximum properties.
The bounds specified by the info.Range property are normalized, i.e., the values are in the range [0, 1], where the values 0 and 1 correspond to the start and end of the range, respectively.
See Also