CausesValidation Property

ProgressBar.CausesValidation Property

 

This API supports the product infrastructure and is not intended to be used directly from your code.

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

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

[BrowsableAttribute(false)]
public bool CausesValidation { get; set; }

Property Value

Type: System.Boolean

true if the control, when it receives focus, causes validation to be performed on any controls that require validation; otherwise, false. The default is true.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft