Table of Contents

Method ValueInRange

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ValueInRange(object?, object?, object?)

Checks whether value is in range specified with minValue and maxValue parameters.

public static ValueInRangeResult ValueInRange(object? value, object? minValue, object? maxValue)

Parameters

value object

Value to check.

minValue object

Minimal possible value.

maxValue object

Maximal possible value.

Returns

ValueInRangeResult

true if value is in range; false otherwise.

Remarks

If range parameter is null it is not checked. If value is null, null is returned.