ValidationSummary.Filter Property

Gets or sets a value that indicates which types of errors are displayed.

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


Public Property Filter As ValidationSummaryFilters
public ValidationSummaryFilters Filter { get; set; }
<sdk:ValidationSummary Filter="validationSummaryFilter"/>

XAML Values

Property Value

Type: System.Windows.Controls.ValidationSummaryFilters
One of the enumeration values that indicates which types of errors are displayed. The default is All.


Dependency property identifier field: FilterProperty

By default, the ValidationSummary displays both object and property level errors. You can specify the type of errors displayed by setting the Filter property to one of the ValidationSummaryFilters enumeration values. For example, if property level errors are already displayed by individual controls on the form, you can set the ValidationSummary to only display the object level errors.

Version Information


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.