'Declaration Public Enum InvalidTextBehavior Inherits System.Enum
public enum InvalidTextBehavior : System.Enum
Member | Description |
---|---|
PreserveWhileInEditMode | The value is not changed, and the user input remains as it was entered, until the control's editor is allowed to exit edit mode or successfully passes validation. |
RevertToLastValidValue | Revert to the last known valid value that was in the control. |
RevertToOriginalValue | Revert to the original value that was present when the control was entered. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2