ValidationSummaryItemType Enumeration

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

Specifies whether a validation error came from object-level or property-level validation.

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

Syntax

'Declaration
Public Enumeration ValidationSummaryItemType
public enum ValidationSummaryItemType

Members

Member name Description
ObjectError The error came from object-level validation.
PropertyError The error came from property-level validation.

Remarks

Object-level validation comes from a ValidationAttribute on the object. For more information, see Using Data Annotations to Customize Data Classes.

Property-level validation comes from the Binding engine. For more information, see the Data Validation section of the Data Binding topic.

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.