System.Windows.Forms.Control.CausesValidation Property

Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.

Syntax

[System.ComponentModel.DefaultValue(true)]
public bool CausesValidation { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the Control.CausesValidation property is set to false, the Control.Validating and Control.Validated events are suppressed.

The Control.CausesValidation property value is typically set to false for controls such as a Help button.

Requirements

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