ProgressBar.CausesValidation ProgressBar.CausesValidation ProgressBar.CausesValidation ProgressBar.CausesValidation Property

定义

获取或设置一个值,该值指示控件在接收焦点时是否会引起在任何需要执行验证的控件上执行验证。Gets or sets a value indicating whether the control, when it receives focus, causes validation to be performed on any controls that require validation.

public:
 property bool CausesValidation { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool CausesValidation { get; set; }
member this.CausesValidation : bool with get, set
Public Property CausesValidation As Boolean

属性值

如果控件在接收焦点时引起在任何需要执行验证的控件上执行验证,则为 true;否则为 falsetrue if the control, when it receives focus, causes validation to be performed on any controls that require validation; otherwise, false. 默认值为 trueThe default is true.

适用于