System.Windows.Forms.ContainerControl.AutoValidate Property

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

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.ComponentModel.AmbientValue(System.Windows.Forms.AutoValidate.Inherit)]
[System.ComponentModel.Browsable(false)]
public virtual AutoValidate AutoValidate { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The default value for ContainerControl.AutoValidate will differ for each control. For more details on implicit validation, see User Input Validation in Windows Forms (Windows Forms).

Setting this property to a new value will raise the ContainerControl.AutoValidateChanged event.

Requirements

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