Version

ValidationTrigger Enumeration

Constants which define the action that triggers validation.
Syntax
'Declaration
 
Public Enum ValidationTrigger 
   Inherits System.Enum
public enum ValidationTrigger : System.Enum 
Members
MemberDescription
DefaultThe actual value is determined at a higher level of the property resolution hierarchy.
OnPropertyValueChangedIn the case where the entity being validated is a control, validation is triggered by the event that is fired when the value of the property referenced by the Validator's ValidationPropertyName property has changed. When the entity being validated is an embeddable editor host (for example, an UltraGridCell), validation is triggered by the editor's ValueChanged event.
OnValidatingIn the case where the entity being validated is a control, validation is triggered by the control’s Validating event; when the entity being validated is an embeddable editor host (for example, an UltraGridCell), validation is triggered by the editor's BeforeExitEditMode event.
ProgrammaticValidation is only triggered programmatically, i.e., by calling the Validate method.
Requirements

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

See Also