共用方式為


ValidationSummary.Errors Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the collection of errors.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data.Input (in System.Windows.Controls.Data.Input.dll)

Syntax

'Declaration
Public ReadOnly Property Errors As ObservableCollection(Of ValidationSummaryItem)
public ObservableCollection<ValidationSummaryItem> Errors { get; }

Property Value

Type: System.Collections.ObjectModel.ObservableCollection<ValidationSummaryItem>
The collection of errors.

Remarks

The Errors collection contains all errors added to the ValidationSummary.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.