ProgressBar.CausesValidation 屬性

定義

取得或設定值,指出控制項取得焦點時,是否會在任何需要驗證的控制項上執行驗證。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; }
[<System.ComponentModel.Browsable(false)>]
member this.CausesValidation : bool with get, set
Public Property CausesValidation As Boolean

屬性值

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.

屬性

適用於