Freigeben über


ValidationSummaryItem.Sources Property

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

Gets the sources of the validation errors.

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

Syntax

'Declaration
Public Property Sources As ObservableCollection(Of ValidationSummaryItemSource)
public ObservableCollection<ValidationSummaryItemSource> Sources { get; private set; }

Property Value

Type: System.Collections.ObjectModel.ObservableCollection<ValidationSummaryItemSource>
A collection of ValidationSummaryItemSource objects that represent the sources of validation errors.

Remarks

The ValidationSummaryItemSource stores the name of the property and Control associated with the validation error.

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.