'Declaration Public Enum ValidationTrigger Inherits System.Enum
public enum ValidationTrigger : System.Enum
Member | Description |
---|---|
Default | The actual value is determined at a higher level of the property resolution hierarchy. |
OnPropertyValueChanged | In 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. |
OnValidating | In 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. |
Programmatic | Validation is only triggered programmatically, i.e., by calling the Validate method. |
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