Table of Contents

Method ReportErrorMinMaxValue

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

ReportErrorMinMaxValue(object?, Action<string>?)

Reports an error if value is less than MinValue or greater than MaxValue.

bool ReportErrorMinMaxValue(object? value, Action<string>? errorEnumerator = null)

Parameters

value object
errorEnumerator Action<string>

Returns

bool

true if validation error was reported; false if validation is ok and error was not reported.

Remarks

ReportValidatorError(bool, string?, Action<string>?) is used to report the error. If DataType is assigned, it is also used to get possible min and max values.