ValidationSummary.ShowValidationErrors 屬性

定義

取得或設定值,指定是否應該顯示驗證程式控制項的驗證摘要。Gets or sets a value that specifies whether the validation summary from validator controls should be displayed.

public:
 property bool ShowValidationErrors { bool get(); void set(bool value); };
[System.Web.UI.Themeable(false)]
public bool ShowValidationErrors { get; set; }
[<System.Web.UI.Themeable(false)>]
member this.ShowValidationErrors : bool with get, set
Public Property ShowValidationErrors As Boolean

屬性值

Boolean

如果應該顯示驗證程式控制項的驗證摘要,則為 true,否則為 falsetrue if the validation summary from validator controls should be displayed; otherwise, false. 預設為 trueThe default is true.

屬性

適用於