ValidationMode

Since: BlackBerry 10.1.0

#include <bb/cascades/ValidationMode>

Represents a validation mode.

A validation mode is used to define how validation should be triggered.

In ValidationMode::FocusLost, ValidationMode::Delayed, and ValidationMode::Immediate modes validation will be triggered automatically but based on different events. In ValidationMode::Immediate mode validation will be triggered immediately (without any delays) after some data has been changed (for example, after every entered symbol in text control).


Overview

Public Types Index

Public Types

Type

Validation modes.

Since:

BlackBerry 10.1.0

Default

Default validation mode.

In this mode the validator selects the mode automatically.

Since:

BlackBerry 10.1.0

Custom

Automatic validation triggering is disabled.

This mode is used for cases when validation should not be executed automatically.

Since:

BlackBerry 10.1.0

FocusLost

Validation will be executed when Control loses focus.

Since:

BlackBerry 10.1.0

Delayed

Delayed validation mode.

Validation will be executed with a default delay.

Since:

BlackBerry 10.1.0

Immediate

Immediate validation mode.

Validation will be executed without any delay.

Since:

BlackBerry 10.1.0

Last modified: 2014-03-13

comments powered by Disqus