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
| Visual Basic (Declaration) | |
|---|
Public Property CausesValidation As Boolean |
| C# | |
|---|
public bool CausesValidation {get; set;} |
Property Value
true if the control causes validation to be performed on any controls requiring validation when it receives focus; otherwise,
false. The default is
true.
Requirements
Target Platforms: Current Windows operating system with .NET 8.
See Also