ValidationSummaryItemType Enumeration


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)

Public Enumeration ValidationSummaryItemType

Member nameDescription
ObjectErrorThe error came from object-level validation.
PropertyErrorThe error came from property-level validation.

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.


Supported in: 5, 4, 3

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