DataErrorMode


Function

 

Specifies how to handle input value errors.

 

Variable type

 

[ C#: enum TextBoxDataErrorMode ] [ VB.NET: Enum TextBoxDataErrorMode ]

Initial value

 

Completed

 

Setting value

 

Value

Enumeration member

Description

0

ReturnInputNoChange

Re-enter with no change

1

ReturnInputChangeBefore

Re-enter with previous text

2

ReturnInputChangeDefault

Re-enter with default text

3

ReturnInputChangeBlank

Re-enter with blank

4

SetValueIgnoreError

Set text and show error message

5

SetValueBefore

Set text with previous text

6

SetValueDefault

Set text with default

7

SetValueBlank

Set blank text

 

Remarks

 

Specifies how to handle input value errors.