IntegerValidationRule
Wisej.Web.IntegerValidationRule
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Validates long integer values.
public class IntegerValidationRule : ValidationRule
Constructors
IntegerValidationRule()

Initializes a new instance of the IntegerValidationRule class.
Properties
MaximumValue

Nullable<Int64>: Returns or sets the maximum value; or null for no maximum. (Default: null
)
MinimumValue

Nullable<Int64>: Returns or sets the minimum value; or null for no minimum. (Default: null
)
Name

String: Returns or sets the name of the validation rule. (Default: "Integer"
)
Required

Boolean: Returns or sets whether the control can be empty or its required to have a value. (Default: False
)
Methods
OnValidating(control)

Validates the control using the validation rule.
Parameter
Type
Description
Returns: Boolean. true if the validation is successful; otherwise false.
Last updated
Was this helpful?