AutoValidate

Wisej.Web.AutoValidate

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Determines how a control validates its data when it loses user input focus.

public enum AutoValidate : Enum

Fields

Name
Description

Disable

Implicit validation will not occur. Setting this value will not interfere with explicit calls to Validate or ValidateChildren.

EnableAllowFocusChange

Implicit validation occurs, but if validation fails, focus will still change to the new control. If validation fails, the Validated event will not fire.

EnablePreventFocusChange

Implicit validation occurs when the control loses focus.

Inherit

The control inherits its AutoValidate behavior from its container (such as a form or another control). If there is no container control, it defaults to EnablePreventFocusChange.

Used By

Name
Description

Returns or sets how the control performs validation when the user changes focus to another control.

Returns or sets how the control performs validation when the user changes focus to another control.

Returns or sets how the control performs validation when the user changes focus to another control.

Last updated