ValidationHintDefaultProperties.State Property

Gets or sets the current validation state of this ValidationHint.

Namespace: DevExpress.Utils.VisualEffects

Assembly: DevExpress.Utils.v20.1.dll


public ValidationHintState? State { get; set; }
Public Property State As ValidationHintState?

Property Value

Type Default Description


A ValidationHintState enumerator value that is the current validation state of this ValidationHint.


A typical scenario for using ValidationHint objects does not involve switching hint validation states manually. Instead, you specify unique appearance and behavior settings for each possible validation state using the ValidationHint.Appearances and ValidationHint.Properties groups. The hint will automatically apply corresponding settings based on the target UI element's validation state.

Alternatively, if you do not wish to use standard validation approaches, implement your own validation logic and switch validation hint states manually by using the State property.

See Also