AutoValidate Property

Form.AutoValidate Property


Gets or sets a value that indicates whether controls in this container will be automatically validated when the focus changes.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override AutoValidate AutoValidate { get; set; }

Property Value

Type: System.Windows.Forms.AutoValidate

An AutoValidate enumerated value that indicates whether contained controls are implicitly validated on focus change. The default is Inherit.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft